Skip to content

Commit

Permalink
update remove_old_config() conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
ffxvs committed Oct 6, 2024
1 parent 1f31350 commit a4da162
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,9 @@ def remove_old_config():
"Mini Paint", "Photopea", "Infinite image browsing"]
with open(config_file, 'r') as file:
config = json.load(file)
if sorted(config['ui_tab_order']) != sorted(ui_tab_order):
if (sorted(config['ui_tab_order']) != sorted(ui_tab_order) or
config['show_progress_type'] != 'TAESD' or
config['show_progress_every_n_steps'] != 4):
os.remove(config_file)


Expand Down

0 comments on commit a4da162

Please sign in to comment.