Merge pull request #35 from peterus/db_fix
add a missing space to a db call
This commit is contained in:
commit
dbd10cf1e1
|
|
@ -372,7 +372,7 @@ class PacketRepository(Repository):
|
||||||
|
|
||||||
sql = sql + \
|
sql = sql + \
|
||||||
selectCursor.mogrify(
|
selectCursor.mogrify(
|
||||||
"""order by marker_id desc, id desc limit 1""")
|
""" order by marker_id desc, id desc limit 1""")
|
||||||
# Sort by marker_id first and packet as second, otherwise client might render it wrong
|
# Sort by marker_id first and packet as second, otherwise client might render it wrong
|
||||||
|
|
||||||
selectCursor.execute(sql)
|
selectCursor.execute(sql)
|
||||||
|
|
@ -432,7 +432,6 @@ class PacketRepository(Repository):
|
||||||
else:
|
else:
|
||||||
return self.create()
|
return self.create()
|
||||||
|
|
||||||
|
|
||||||
def getMostRecentConfirmedObjectListByStationIdList(self, stationIdList, minTimestamp):
|
def getMostRecentConfirmedObjectListByStationIdList(self, stationIdList, minTimestamp):
|
||||||
"""Returns an array of the most recent confirmed Packet's specified by station id's
|
"""Returns an array of the most recent confirmed Packet's specified by station id's
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue