moved some models added cron and websocket base class
This commit is contained in:
@@ -115,9 +115,13 @@ if __name__ == '__main__':
|
||||
# socketio.emit('server_event', "You!: server_event", namespace="/")
|
||||
# print("send bla")
|
||||
|
||||
socketio.run(app, host="localhost", port=5000, debug=True)
|
||||
|
||||
#socketio.run(app, host="localhost", port=5000, debug=True)
|
||||
start_in_thread()
|
||||
while True:
|
||||
time.sleep(2)
|
||||
print("still running! :)")
|
||||
# socketio.run(app, debug=True)
|
||||
# ENDE
|
||||
|
||||
print("running?!")
|
||||
# t.join()
|
||||
|
||||
Reference in New Issue
Block a user