Manual fix - auto formatter failed
This commit is contained in:
parent
40494d3c3c
commit
e627c8c857
|
@ -22,8 +22,7 @@ class TelemetryFeed(flask_restful.Resource):
|
||||||
if "null" == timestamp or timestamp is None: # special case to avoid ugly JS code...
|
if "null" == timestamp or timestamp is None: # special case to avoid ugly JS code...
|
||||||
telemetries = mongo.db.telemetry.find({})
|
telemetries = mongo.db.telemetry.find({})
|
||||||
else:
|
else:
|
||||||
telemetries = mongo.db.telemetry.find({'timestamp': {'$gt': dateutil.parser.parse(timestamp)}}) \
|
telemetries = mongo.db.telemetry.find({'timestamp': {'$gt': dateutil.parser.parse(timestamp)}})
|
||||||
\
|
|
||||||
telemetries = telemetries.sort([('timestamp', flask_pymongo.ASCENDING)])
|
telemetries = telemetries.sort([('timestamp', flask_pymongo.ASCENDING)])
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue