From 203266af180a8956e5130f121b743d04e2fe2770 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Wed, 5 Oct 2016 11:12:19 +0200 Subject: [PATCH] Update commandManager.py --- src/fenrir/core/commandManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrir/core/commandManager.py b/src/fenrir/core/commandManager.py index 423e79ed..472155cf 100644 --- a/src/fenrir/core/commandManager.py +++ b/src/fenrir/core/commandManager.py @@ -29,7 +29,7 @@ class commandManager(): self.env['runtime']['commandManager'].shutdownCommands('onSwitchApplicationProfile') def loadCommands(self, section='commands'): - commandFolder = "commands/" + section +"/" + commandFolder = os.path.dirname(os.path.realpath(__main__.__file__)) + "/commands/" + section +"/" commandList = glob.glob(commandFolder+'*') for command in commandList: try: