diff --git a/bot.py b/bot.py index 9e09db0..0d75cd5 100644 --- a/bot.py +++ b/bot.py @@ -2227,7 +2227,7 @@ if __name__ == "__main__": logger.info("Starting discord bot") threads = [] threads.append(threading.Thread(target=client.run, args=(TOKEN,))) - threads.append(threading.Thread(target=comm_subroutine, args=(logger))) + threads.append(threading.Thread(target=comm_subroutine, args=(logger,))) for worker in threads: worker.start() for worker in threads: diff --git a/communication_subroutine.py b/communication_subroutine.py index 6f4b570..0e41a39 100644 --- a/communication_subroutine.py +++ b/communication_subroutine.py @@ -59,8 +59,8 @@ def comm_subroutine(logger): logger.setLevel(logging.DEBUG) logger.info("Started") threads = [] - #threads.append(threading.Thread(target=flask_debug, args=(logger,))) - threads.append(threading.Thread(target=waitress_run, args=(logger,))) + threads.append(threading.Thread(target=flask_debug, args=(logger,))) + #threads.append(threading.Thread(target=waitress_run, args=(logger,))) threads.append(threading.Thread(target=scan_queue,)) for worker in threads: