Further cleanup message logging statement
This commit is contained in:
2
app.py
2
app.py
@@ -37,7 +37,7 @@ def response_minify(response):
|
|||||||
def handle_message(data):
|
def handle_message(data):
|
||||||
current_time = datetime.now().replace(
|
current_time = datetime.now().replace(
|
||||||
microsecond=0).isoformat()
|
microsecond=0).isoformat()
|
||||||
print(current_time + ', message: ' + data)
|
print(current_time + ' ' + data)
|
||||||
|
|
||||||
|
|
||||||
@app.route("/api/status", methods=['GET', 'POST'])
|
@app.route("/api/status", methods=['GET', 'POST'])
|
||||||
|
|||||||
Reference in New Issue
Block a user