fixed verbose/profile output options

This commit is contained in:
Arthur Lu 2021-08-19 20:58:35 +00:00
parent 3e8d876f80
commit ca399cf350

View File

@ -208,16 +208,14 @@ sample_json = """{
def main(send, verbose = False, profile = False):
if verbose or profile:
warnings.filterwarnings("ignore")
sys.stderr = open("errorlog.txt", "w")
splash(__version__)
loop_exit_code = 0
loop_stored_exception = None
if verbose:
splash(__version__)
while True:
try: