From 5d1c442c29c9919abb27b2f98d8be7c894793488 Mon Sep 17 00:00:00 2001 From: Alex Orid Date: Fri, 30 Apr 2021 11:48:29 -0400 Subject: [PATCH] basic command --- commands/implemented/Command_chyron_v2.py | 7 +++++-- standalone_channelrewards.py | 2 +- standalone_command.py | 2 +- standalone_tts_core.py | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/commands/implemented/Command_chyron_v2.py b/commands/implemented/Command_chyron_v2.py index b49d5cc..d9e790d 100644 --- a/commands/implemented/Command_chyron_v2.py +++ b/commands/implemented/Command_chyron_v2.py @@ -37,8 +37,11 @@ class Command_chyron_v2(AbstractCommand, metaclass=ABCMeta): tempName = user.lower() if name == tempName: returnString = user + " has updated the chyron!" - temp = chyron_module.Chyron_Module() - temp.main(rest) + chyron_ = chyron_module.Chyron_Module() + chyron_.main(rest) + chyron_.chyron_stringUpdater() + chyron_.updateChyronFile() + returnString = chyron_.chyron_computedString return returnString diff --git a/standalone_channelrewards.py b/standalone_channelrewards.py index ebed9e5..64b9219 100644 --- a/standalone_channelrewards.py +++ b/standalone_channelrewards.py @@ -12,7 +12,7 @@ praxis_logger_obj.log("\n -Starting Logs: " + os.path.basename(__file__)) api = flask.Flask(__name__) # enable/disable this to get web pages of crashes returned -api.config["DEBUG"] = True +api.config["DEBUG"] = False loadedRewards = {} diff --git a/standalone_command.py b/standalone_command.py index 24ad1a4..5333510 100644 --- a/standalone_command.py +++ b/standalone_command.py @@ -12,7 +12,7 @@ praxis_logger_obj.log("\n -Starting Logs: " + os.path.basename(__file__)) api = flask.Flask(__name__) # enable/disable this to get web pages of crashes returned -api.config["DEBUG"] = True +api.config["DEBUG"] = False loadedCommands = {} diff --git a/standalone_tts_core.py b/standalone_tts_core.py index 7a051bf..1cca22b 100644 --- a/standalone_tts_core.py +++ b/standalone_tts_core.py @@ -14,7 +14,7 @@ praxis_logger_obj.log("\n -Starting Logs: " + os.path.basename(__file__)) api = flask.Flask(__name__) # enable/disable this to get web pages of crashes returned -api.config["DEBUG"] = True +api.config["DEBUG"] = False def init(): praxis_logger_obj.log("init stuff")