diff --git a/gui/fragments/home.py b/gui/fragments/home.py index 0c742dc19..68ef2d6a4 100644 --- a/gui/fragments/home.py +++ b/gui/fragments/home.py @@ -110,7 +110,7 @@ def resizeEvent(self, event): def call_update(self, parent=None): try: - with open('./config/display.json', 'r', encoding='utf-8') as f: + with open('./config/'+ self.config.config_dir +'/display.json', 'r', encoding='utf-8') as f: config = json.load(f) if config['running'] is None or config['running'] == 'Empty': self.info.setText('无任务')