Skip to content

Commit

Permalink
Update window.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pur1fying committed Feb 16, 2024
1 parent fd077d6 commit bcfa333
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion window.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,13 @@ def __init__(self):
if os.path.isdir(f'./config/{_dir_}'):
files = os.listdir(f'./config/{_dir_}')
if 'config.json' in files:
check_config(_dir_)
self.config_dir_list.append(ConfigSet(config_dir=_dir_))

if len(self.config_dir_list) == 0:
self.config_dir_list.append(ConfigSet('default_config'))

for config in self.config_dir_list:
check_config(config.config_dir)
# create sub interface
from gui.fragments.home import HomeFragment
from gui.fragments.switch import SwitchFragment
Expand Down

0 comments on commit bcfa333

Please sign in to comment.