Skip to content

Commit d9fb1fb

Browse files
authored
Merge pull request #4305 from hove-io/fix_links_in_odt_section
[jormun]: Fix links in an ODT section
2 parents 7adbf7f + 246c4f7 commit d9fb1fb

File tree

1 file changed

+1
-1
lines changed
  • source/jormungandr/jormungandr/scenarios

1 file changed

+1
-1
lines changed

source/jormungandr/jormungandr/scenarios/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def fill_uris(resp):
322322
return
323323
for journey in resp.journeys:
324324
for section in journey.sections:
325-
if section.type != response_pb2.PUBLIC_TRANSPORT:
325+
if section.type not in (response_pb2.PUBLIC_TRANSPORT, response_pb2.ON_DEMAND_TRANSPORT):
326326
continue
327327
if section.HasField(str("pt_display_informations")):
328328
uris = section.uris

0 commit comments

Comments
 (0)