aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorParker M <contact@pkrm.dev>2023-09-17 19:36:02 -0500
committerParker M <contact@pkrm.dev>2023-09-17 19:36:02 -0500
commitffea8cc42abb9882d18fbab87e097264ff014c02 (patch)
tree1c695c677250cd676c3ea26a6749c5d66d574145 /app
parent49a493fd32b545cece7b72b2af94d5f1b6d7765f (diff)
Update config initialization
Diffstat (limited to 'app')
-rw-r--r--app/initialize_variables.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/app/initialize_variables.py b/app/initialize_variables.py
index 4832b9d..33e2642 100644
--- a/app/initialize_variables.py
+++ b/app/initialize_variables.py
@@ -52,18 +52,19 @@ if value_not_set:
for entry in data:
f.write(f'# {entry["id"]} - {entry["name"]}\n')
- f.write("quality_profile_id: ")
- f.write("\n")
- f.write("home_domain: null # Optional: 404/405 errors redirect to this domain, leaving as\n# null means the webserver will just return the error to the browser\n")
- f.write("api_number: # International format\n")
- f.write("valid_senders: # International format, comma-space separated (eg. +18005263256, +18005428741\n")
- f.write("root_folder_path: # Path to the root folder where movies are downloaded to\n")
+ f.write("quality_profile_id:\n")
+ f.write("home_domain: null\n")
+ f.write("api_number:\n")
+ f.write("valid_senders:\n")
+ f.write("root_folder_path:\n")
if sms_service not in supported_sms_services:
print(f'{sms_service} is not a supported SMS service. Please choose from the supported list: {supported_sms_services}')
exit()
if sms_service == 'telnyx':
- f.write("telnyx_api_key: \n")
+ f.write("telnyx_api_key:\n")
+
+ f.write("\n\n# INFORMATION: There should be NO trailing spaced after you enter a value,\n# this will cause errors.\n# There should be one space after the colon though (e.g. quality_profile_id: 1)\n# Check docs for information on each value.")
exit()
numbers_responses = {