basic command

This commit is contained in:
Alex Orid 2021-04-30 11:48:29 -04:00
parent 1eee312407
commit 5d1c442c29
4 changed files with 8 additions and 5 deletions

View File

@ -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

View File

@ -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 = {}

View File

@ -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 = {}

View File

@ -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")