Skip to content
Snippets Groups Projects
Commit 84b711a1 authored by Per Qvarforth's avatar Per Qvarforth
Browse files

fixed problem with the filter functionality

parent c3463395
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ class FilterHistoryResponseCreator():
"""
minTimestamp = None
if (len(stationIds) > 0) :
minTimestamp = self.state.getStationLatestTimestampOnMap(stationIds[0])
minTimestamp = self.state.getStationLatestTimestampOnMap(list(stationIds)[0])
if (minTimestamp is None) :
minTimestamp = self.state.getMapSectorTimestamp(None) # None as argument is useful even when not dealing with map-sectors
if (len(stationIds) > 1) :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment