diff --git a/_delphi_utils_python/delphi_utils/utils.py b/_delphi_utils_python/delphi_utils/utils.py index c98ab587c..0504967bf 100644 --- a/_delphi_utils_python/delphi_utils/utils.py +++ b/_delphi_utils_python/delphi_utils/utils.py @@ -95,4 +95,5 @@ def transfer_files(): delivery_dir = params["delivery"].get("delivery_dir", None) files_to_export = os.listdir(export_dir) for file_name in files_to_export: - move(os.path.join(export_dir, file_name), delivery_dir) + if file_name.endswith(".csv") or file_name.endswith(".CSV"): + move(os.path.join(export_dir, file_name), delivery_dir) diff --git a/ansible/templates/google_symptoms-params-prod.json.j2 b/ansible/templates/google_symptoms-params-prod.json.j2 index 86444bb86..41fd7a641 100644 --- a/ansible/templates/google_symptoms-params-prod.json.j2 +++ b/ansible/templates/google_symptoms-params-prod.json.j2 @@ -41,9 +41,9 @@ "sum_anosmia_ageusia_smoothed_search", "anosmia_smoothed_search" ] - }, - "delivery": { - "delivery_dir": "/common/covidcast/receiving/google-symptoms" } + }, + "delivery": { + "delivery_dir": "/common/covidcast/receiving/google-symptoms" } } diff --git a/google_symptoms/params.json.template b/google_symptoms/params.json.template index 4a8d171c4..ef0c46765 100644 --- a/google_symptoms/params.json.template +++ b/google_symptoms/params.json.template @@ -31,9 +31,9 @@ "sum_anosmia_ageusia_smoothed_search", "anosmia_smoothed_search" ] - }, - "delivery": { - "delivery_dir": "./receiving" } + }, + "delivery": { + "delivery_dir": "./receiving" } }