Fix datetime module issue

This commit is contained in:
Peter Stockings
2023-01-04 01:16:58 +11:00
parent 05e0c432f4
commit a6b7107e55

2
app.py
View File

@@ -35,7 +35,7 @@ def response_minify(response):
@socketio.on('message')
def handle_message(data):
print('server ts: ' + datetime.datetime.now().replace(
print('server ts: ' + datetime.now().replace(
microsecond=0).isoformat() + ', message: ' + data)