aboutsummaryrefslogtreecommitdiff
path: root/code
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-05-18 20:15:43 -0500
committerParker <contact@pkrm.dev>2024-05-18 20:15:43 -0500
commit6de2b8b57d23ab9a9e34ebf0b2f879e0e3302801 (patch)
tree6f0d26bc351abc06a64aeb536dfbcb81f14f65ed /code
parent32ab780b461c1c2b5e3e34c35b5902ed7006b95e (diff)
Add `ACCOUNT_TIME` to config creation
Diffstat (limited to 'code')
-rw-r--r--code/global_variables.py6
-rw-r--r--code/validate_config.py3
2 files changed, 7 insertions, 2 deletions
diff --git a/code/global_variables.py b/code/global_variables.py
index bdc5860..1edb012 100644
--- a/code/global_variables.py
+++ b/code/global_variables.py
@@ -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)
diff --git a/code/validate_config.py b/code/validate_config.py
index 191cb03..a79ff06 100644
--- a/code/validate_config.py
+++ b/code/validate_config.py
@@ -160,5 +160,6 @@ def create_config():
config["JELLYFIN_ACCOUNTS"] = {
"JELLYFIN_URL": "",
- "JELLYFIN_API_KEY": ""
+ "JELLYFIN_API_KEY": "",
+ "ACCOUNT_TIME": ""
}