correctly write session_token in manual entry mode (fix #12)

This commit is contained in:
eli fessler
2022-09-12 21:35:27 -10:00
parent ef75e66e23
commit cbe77c3169

4
s3s.py
View File

@@ -200,8 +200,8 @@ def gen_new_tokens(reason, force=False):
manual_entry = True
else:
print("\nWrote session_token to config.txt.")
CONFIG_DATA["session_token"] = new_token
write_config(CONFIG_DATA)
CONFIG_DATA["session_token"] = new_token
write_config(CONFIG_DATA)
elif SESSION_TOKEN == "skip":
manual_entry = True