moved some models added cron and websocket base class

This commit is contained in:
2019-10-31 16:13:02 +01:00
parent 36c889956f
commit 5d731c9fba
10 changed files with 224 additions and 88 deletions

View File

@@ -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()