(change): framework for setting default pref

This commit is contained in:
2026-02-15 17:02:31 -05:00
parent 16c422bacf
commit 2a4ea9f777
6 changed files with 89 additions and 43 deletions

View File

@@ -20,6 +20,9 @@ def read_config():
"password": os.getenv("TAM3_DB_PASSWD", "tam3"),
"database": os.getenv("TAM3_DB_DATABASE", "tam3"),
}
config["tickets"] = {
"default_pref": os.getenv("TAM3_DEFAULT_PREF", "CALL")
}
with open(config_path, "w") as f:
config.write(f)
return config