Add ACCOUNT_TIME to config creation

This commit is contained in:
Parker M. 2024-05-18 20:15:43 -05:00
parent 32ab780b46
commit 6de2b8b57d
No known key found for this signature in database
GPG Key ID: 95CD2E0C7E329F2A
2 changed files with 7 additions and 2 deletions

View File

@ -35,7 +35,11 @@ except FileNotFoundError:
"ENABLE_JELLYFIN_TEMP_ACCOUNTS": "",
}
config["JELLYFIN_ACCOUNTS"] = {"JELLYFIN_URL": "", "JELLYFIN_API_KEY": ""}
config["JELLYFIN_ACCOUNTS"] = {
"JELLYFIN_URL": "",
"JELLYFIN_API_KEY": "",
"ACCOUNT_TIME": ""
}
with open("config.ini", "w") as configfile:
config.write(configfile)

View File

@ -160,5 +160,6 @@ def create_config():
config["JELLYFIN_ACCOUNTS"] = {
"JELLYFIN_URL": "",
"JELLYFIN_API_KEY": ""
"JELLYFIN_API_KEY": "",
"ACCOUNT_TIME": ""
}