basic command
This commit is contained in:
parent
1eee312407
commit
5d1c442c29
@ -37,8 +37,11 @@ class Command_chyron_v2(AbstractCommand, metaclass=ABCMeta):
|
|||||||
tempName = user.lower()
|
tempName = user.lower()
|
||||||
if name == tempName:
|
if name == tempName:
|
||||||
returnString = user + " has updated the chyron!"
|
returnString = user + " has updated the chyron!"
|
||||||
temp = chyron_module.Chyron_Module()
|
chyron_ = chyron_module.Chyron_Module()
|
||||||
temp.main(rest)
|
chyron_.main(rest)
|
||||||
|
chyron_.chyron_stringUpdater()
|
||||||
|
chyron_.updateChyronFile()
|
||||||
|
returnString = chyron_.chyron_computedString
|
||||||
|
|
||||||
|
|
||||||
return returnString
|
return returnString
|
||||||
|
|||||||
@ -12,7 +12,7 @@ praxis_logger_obj.log("\n -Starting Logs: " + os.path.basename(__file__))
|
|||||||
|
|
||||||
api = flask.Flask(__name__)
|
api = flask.Flask(__name__)
|
||||||
# enable/disable this to get web pages of crashes returned
|
# enable/disable this to get web pages of crashes returned
|
||||||
api.config["DEBUG"] = True
|
api.config["DEBUG"] = False
|
||||||
|
|
||||||
loadedRewards = {}
|
loadedRewards = {}
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,7 @@ praxis_logger_obj.log("\n -Starting Logs: " + os.path.basename(__file__))
|
|||||||
|
|
||||||
api = flask.Flask(__name__)
|
api = flask.Flask(__name__)
|
||||||
# enable/disable this to get web pages of crashes returned
|
# enable/disable this to get web pages of crashes returned
|
||||||
api.config["DEBUG"] = True
|
api.config["DEBUG"] = False
|
||||||
|
|
||||||
loadedCommands = {}
|
loadedCommands = {}
|
||||||
|
|
||||||
|
|||||||
@ -14,7 +14,7 @@ praxis_logger_obj.log("\n -Starting Logs: " + os.path.basename(__file__))
|
|||||||
|
|
||||||
api = flask.Flask(__name__)
|
api = flask.Flask(__name__)
|
||||||
# enable/disable this to get web pages of crashes returned
|
# enable/disable this to get web pages of crashes returned
|
||||||
api.config["DEBUG"] = True
|
api.config["DEBUG"] = False
|
||||||
|
|
||||||
def init():
|
def init():
|
||||||
praxis_logger_obj.log("init stuff")
|
praxis_logger_obj.log("init stuff")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user