Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pur1fying committed Feb 16, 2024
1 parent 9905e5d commit 5b7dfea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/fragments/home.py
Original file line number Diff line number Diff line change
Expand Up @@ -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('无任务')
Expand Down

0 comments on commit 5b7dfea

Please sign in to comment.