File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
functions-python/export_csv/src Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 2929from geoalchemy2 .shape import to_shape
3030
3131from shared .database .database import with_db_session
32- from shared .helpers .logger import Logger
32+ from shared .helpers .logger import init_logger
3333from shared .database_gen .sqlacodegen_models import Gtfsfeed , Gtfsrealtimefeed , Feed
3434from shared .common .db_utils import (
3535 get_all_gtfs_rt_feeds ,
4141
4242load_dotenv ()
4343csv_default_file_path = "./output.csv"
44-
44+ init_logger ()
4545# This needs to be updated if we add fields to either `get_feed_csv_data` or
4646# `get_gtfs_rt_feed_csv_data`, otherwise the extra field(s) will be excluded from
4747# the generated CSV file.
@@ -114,7 +114,6 @@ def export_and_upload_csv(_):
114114 FEEDS_DATABASE_URL: database URL
115115 :return: HTTP response object
116116 """
117- Logger .init_logger ()
118117 logging .info ("Export started" )
119118
120119 csv_file_path = csv_default_file_path
You can’t perform that action at this time.
0 commit comments