Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
corrad1nho authored May 25, 2018
1 parent 37a3bb0 commit 0112e2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qomui/qomui_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0112e2a

Please sign in to comment.