Skip to content

Commit 090bb4a

Browse files
committed
Fix wheelchair for OPG
1 parent b6e501d commit 090bb4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/jormungandr/jormungandr/olympic_site_params_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def get_olympic_site_params(self, pt_origin_detail, pt_destination_detail, api_r
312312
"show_natural_opg_journeys": show_natural_opg_journeys,
313313
}
314314

315-
if api_request.get("_deactivate_opg_scenario", False):
315+
if any([api_request.get("_deactivate_opg_scenario", False), api_request.get("wheelchair", False)]):
316316
logging.getLogger(__name__).warning("OPG scenario deactivated.")
317317
return {}
318318

0 commit comments

Comments
 (0)