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: