mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2025-09-26 15:20:18 +00:00
added opotion to pull config from database,
major code refactor
Former-commit-id: da913e639b
This commit is contained in:
@@ -135,7 +135,8 @@ def set_current_time(client, current_time):
|
||||
|
||||
def get_database_config(client):
|
||||
|
||||
return get_analysis_flags(client, "config")["config"]
|
||||
remote_config = get_analysis_flags(client, "config")
|
||||
return remote_config["config"] if remote_config != None else None
|
||||
|
||||
def set_database_config(client, config):
|
||||
|
||||
|
Reference in New Issue
Block a user