forked from p15670423/monkey
Manual fix - auto formatter failed
This commit is contained in:
parent
40494d3c3c
commit
e627c8c857
|
@ -22,9 +22,8 @@ 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:
|
||||||
return \
|
return \
|
||||||
|
|
Loading…
Reference in New Issue