[python][generator] Fix for transit_path_experimental.

This commit is contained in:
Olga Khlopkova 2020-06-05 14:43:45 +03:00 committed by Maksim Andrianov
parent d3f1f4ab14
commit 986b4ac0d2

View file

@ -214,8 +214,10 @@ class PathProvider:
@property
def transit_path_experimental(self) -> AnyStr:
return os.path.join(
self.intermediate_data_path, "transit_from_gtfs"
return (
os.path.join(self.intermediate_data_path, "transit_from_gtfs")
if settings.TRANSIT_URL
else ""
)
@property