From 0112e2aade03210863dc521e54eefb3aea4963ce Mon Sep 17 00:00:00 2001 From: corrad1nho <38220367+corrad1nho@users.noreply.github.com> Date: Fri, 25 May 2018 12:34:11 +0000 Subject: [PATCH] fixed typo --- qomui/qomui_gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qomui/qomui_gui.py b/qomui/qomui_gui.py index 35e0fd3..ba3effd 100755 --- a/qomui/qomui_gui.py +++ b/qomui/qomui_gui.py @@ -769,7 +769,7 @@ def Load(self): self.bypass_tab_bt.setVisible(True) self.setOptiontab(self.config_dict) except (FileNotFoundError,json.decoder.JSONDecodeError, KeyError) as e: - self.logger.error('%s: Could not open %s/config.json - loading default configuration' % (e, DIRECTORY)) + self.logger.error('%s: Could not open %s/config.json - loading default configuration' % (e, ROOTDIR)) with open('%s/default_config.json' % (ROOTDIR), 'r') as config: self.config_dict = json.load(config) self.setWindowState(QtCore.Qt.WindowActive)