mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-10 06:54:45 +00:00
fixed verbose/profile output options
This commit is contained in:
parent
3e8d876f80
commit
ca399cf350
@ -208,16 +208,14 @@ sample_json = """{
|
|||||||
|
|
||||||
def main(send, verbose = False, profile = False):
|
def main(send, verbose = False, profile = False):
|
||||||
|
|
||||||
if verbose or profile:
|
warnings.filterwarnings("ignore")
|
||||||
|
sys.stderr = open("errorlog.txt", "w")
|
||||||
warnings.filterwarnings("ignore")
|
loop_exit_code = 0
|
||||||
sys.stderr = open("errorlog.txt", "w")
|
loop_stored_exception = None
|
||||||
|
|
||||||
|
if verbose:
|
||||||
splash(__version__)
|
splash(__version__)
|
||||||
|
|
||||||
loop_exit_code = 0
|
|
||||||
loop_stored_exception = None
|
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user