From e78d06afd76c5fd198abbffa1c7ab4a3c95cfb4c Mon Sep 17 00:00:00 2001 From: Francia Csaba Date: Mon, 11 Dec 2023 15:01:27 +0100 Subject: [PATCH] gtfs_export and gtfs_generator --- amarillo/app/__init__.py | 0 amarillo/app/services/__init__.py | 0 amarillo/app/services/gtfs_export.py | 8 ++++---- amarillo/app/services/gtfs_generator.py | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 amarillo/app/__init__.py create mode 100644 amarillo/app/services/__init__.py 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