Skip to content

Commit 7909a39

Browse files
committed
Update tampere route_id parsing
1 parent c0ba9a6 commit 7909a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ def parse_route_id(feed, route_id, trip_id, otp_data):
22
if feed == "tampere":
33
if len(route_id) > 6 and route_id[-6:] == "701871":
44
return route_id[0:-6]
5-
if len(route_id) > 5 and (route_id[-5:] == "47374" or route_id[-5:] == "56920"):
5+
if len(route_id) > 5 and (route_id[-5:] == "47374" or route_id[-5:] == "56920" or route_id[-5:] == "10299"):
66
return route_id[0:-5]
77
return route_id[0:-4]
88
return route_id

0 commit comments

Comments
 (0)