Skip to content

Commit

Permalink
fix: 使用webui重命名的config.bak未保存在config目录下
Browse files Browse the repository at this point in the history
  • Loading branch information
lerdb committed Feb 25, 2024
1 parent 5645bf8 commit 546d94a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def openFailedDialog():
i = 1
while 1:
try:
os.rename("./config/config.json", f"config{i}.bak")
os.rename("./config/config.json", f"./config/config{i}.bak")
break
except:
i += 1
Expand Down

0 comments on commit 546d94a

Please sign in to comment.