diff --git a/src/cli/superscript.py b/src/cli/superscript.py index 371d18f..13ebc1b 100644 --- a/src/cli/superscript.py +++ b/src/cli/superscript.py @@ -160,6 +160,7 @@ import sys import time import traceback import warnings +import zmq from interface import splash, log, ERR, INF, stdout, stderr from data import get_previous_time, pull_new_tba_matches, set_current_time, load_match, push_match, load_pit, push_pit, get_database_config, set_database_config, check_new_database_matches @@ -313,8 +314,6 @@ def main(send, verbose = False, profile = False, debug = False): send(stdout, INF, "closed threads and database client") send(stdout, INF, "finished all tasks in " + str(time.time() - loop_start) + " seconds, looping") - raise Exception("boop") - if profile: return 0 # return instead of break to avoid sys.exit @@ -548,8 +547,6 @@ def start(pid_path, verbose = False, profile = False, debug = False): stderr = f ): - import zmq - context = zmq.Context() socket = context.socket(zmq.PUB) socket.bind("tcp://*:5678")