Fixed wrong push
This commit is contained in:
parent
2e5590f74c
commit
1ca0359eab
4
main.py
4
main.py
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user