Fixed wrong push

This commit is contained in:
blessedcoolant 2022-03-25 14:06:03 +13:00
parent 2e5590f74c
commit 1ca0359eab

View File

@ -162,9 +162,7 @@ def main():
if args.gui: if args.gui:
app_width, app_height = args.gui_size app_width, app_height = args.gui_size
ui = FlaskUI(app, width=app_width, height=app_height) ui = FlaskUI(app, width=app_width, height=app_height)
import threading ui.run()
thread = threading.Thread(target=ui.run)
# ui.run()
else: else:
app.run(host="127.0.0.1", port=args.port, debug=args.debug) app.run(host="127.0.0.1", port=args.port, debug=args.debug)