diff --git a/src/fenrir/core/debug.py b/src/fenrir/core/debug.py index 0935af91..54bea24b 100644 --- a/src/fenrir/core/debug.py +++ b/src/fenrir/core/debug.py @@ -47,7 +47,7 @@ class debug(): if not self._fileOpened: self.openDebugFile() if onAnyLevel: - msg = 'INFO ' + str(datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S.%f')) + msg = 'ANY_LEVEL '+ str(level) + str(datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S.%f')) else: msg = str(level) +' ' + str(datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S.%f') ) diff --git a/src/fenrir/core/settingsManager.py b/src/fenrir/core/settingsManager.py index 34dec645..7ec44dfb 100644 --- a/src/fenrir/core/settingsManager.py +++ b/src/fenrir/core/settingsManager.py @@ -64,7 +64,7 @@ class settingsManager(): shortcut.append(shortcutRepeat) shortcut.append(sorted(shortcutKeys)) if len(shortcutKeys) != 1 and not 'KEY_FENRIR' in shortcutKeys: - self.env['runtime']['debug'].writeDebugOut("invalid shortcut (missing KEY_FENRIR): "+ str(shortcut) + ' command:' +commandName ,debug.debugLevel.ERROR, onAnyLevel=True) + self.env['runtime']['debug'].writeDebugOut("invalid shortcut (missing KEY_FENRIR): "+ str(shortcut) + ' command:' +commandName ,debug.debugLevel.ERROR) continue self.env['runtime']['debug'].writeDebugOut("Shortcut: "+ str(shortcut) + ' command:' +commandName ,debug.debugLevel.INFO, onAnyLevel=True) self.env['bindings'][str(shortcut)] = commandName