Fix datetime module issue
This commit is contained in:
2
app.py
2
app.py
@@ -35,7 +35,7 @@ def response_minify(response):
|
|||||||
|
|
||||||
@socketio.on('message')
|
@socketio.on('message')
|
||||||
def handle_message(data):
|
def handle_message(data):
|
||||||
print('server ts: ' + datetime.datetime.now().replace(
|
print('server ts: ' + datetime.now().replace(
|
||||||
microsecond=0).isoformat() + ', message: ' + data)
|
microsecond=0).isoformat() + ', message: ' + data)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user