diff --git a/amarillo/app/__init__.py b/amarillo/app/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/amarillo/app/services/__init__.py b/amarillo/app/services/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/amarillo/app/services/gtfs_export.py b/amarillo/app/services/gtfs_export.py index b60af4e..9d9aea5 100644 --- a/amarillo/app/services/gtfs_export.py +++ b/amarillo/app/services/gtfs_export.py @@ -7,10 +7,10 @@ import gettext import logging import re -from app.utils.utils import assert_folder_exists -from app.models.gtfs import GtfsTimeDelta, GtfsFeedInfo, GtfsAgency, GtfsRoute, GtfsStop, GtfsStopTime, GtfsTrip, GtfsCalendar, GtfsCalendarDate, GtfsShape -from app.services.stops import is_carpooling_stop -from app.services.gtfs_constants import * +from amarillo.app.utils.utils import assert_folder_exists +from amarillo.app.models.gtfs import GtfsTimeDelta, GtfsFeedInfo, GtfsAgency, GtfsRoute, GtfsStop, GtfsStopTime, GtfsTrip, GtfsCalendar, GtfsCalendarDate, GtfsShape +from amarillo.app.services.stops import is_carpooling_stop +from amarillo.app.services.gtfs_constants import * logger = logging.getLogger(__name__) diff --git a/amarillo/app/services/gtfs_generator.py b/amarillo/app/services/gtfs_generator.py index 2698494..1459aca 100644 --- a/amarillo/app/services/gtfs_generator.py +++ b/amarillo/app/services/gtfs_generator.py @@ -1,7 +1,7 @@ -from app.models.Carpool import Region -from app.services.gtfs_export import GtfsExport, GtfsFeedInfo, GtfsAgency -from app.services.gtfs import GtfsRtProducer -from app.utils.container import container +from amarillo.app.models.Carpool import Region +from amarillo.app.services.gtfs_export import GtfsExport, GtfsFeedInfo, GtfsAgency +from amarillo.app.services.gtfs import GtfsRtProducer +from amarillo.app.utils.container import container from glob import glob import json import schedule