Another fix

This commit is contained in:
ebolam
2022-09-09 10:20:17 -04:00
parent 8021f9e228
commit 18faa7cabb

View File

@@ -7698,7 +7698,7 @@ def UI_2_save_cookies(data):
#Note this won't sync to the client automatically as we're modifying a variable rather than setting it #Note this won't sync to the client automatically as we're modifying a variable rather than setting it
koboldai_vars.cookies[key] = data[key] koboldai_vars.cookies[key] = data[key]
with open("./settings/cookies.settings", "w") as f: with open("./settings/cookies.settings", "w") as f:
f.write(json.dumps(koboldai_vars.cookies)) json.dump(koboldai_vars.cookies, f)
#==================================================================# #==================================================================#
# Load Tweaks # Load Tweaks