diff --git a/exchange/extract/exchange_temp_extract_csv/.gitkeep b/exchange/extract/exchange_temp_extract_csv/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/main.py b/main.py index cdd76b9..98a81f6 100644 --- a/main.py +++ b/main.py @@ -42,8 +42,6 @@ def exchange_load_to_cloudstorage(EXCHANGE_CSV_TEMP_STORAGE_PATH): def main(): #Extract Load Exchange Data, and delete the temp csv EXCHANGE_CSV_TEMP_STORAGE_PATH = "./exchange/extract/exchange_temp_extract_csv/" - if not os.path.exists(EXCHANGE_CSV_TEMP_STORAGE_PATH): - os.makedirs(EXCHANGE_CSV_TEMP_STORAGE_PATH) exchange_extract(EXCHANGE_CSV_TEMP_STORAGE_PATH) exchange_load_to_cloudstorage(EXCHANGE_CSV_TEMP_STORAGE_PATH) general_function.delete_csv_in_path(EXCHANGE_CSV_TEMP_STORAGE_PATH) diff --git a/requirements.txt b/requirements.txt index c4ef43b..2b6cbf0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ mysql-connector-python==8.0.30 -google-cloud-storage==2.5.0 +google-cloud-storage==2.5.0 \ No newline at end of file