From 5dde9be7d2defddb7b91649c9621b314509b3880 Mon Sep 17 00:00:00 2001 From: ganti <28899559+ganti@users.noreply.github.com> Date: Fri, 9 Feb 2024 00:09:06 +0100 Subject: [PATCH] Update file path because swisstopo changed source (again) --- fetchData/fetchData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetchData/fetchData.py b/fetchData/fetchData.py index 7ce3a91..a803dbd 100644 --- a/fetchData/fetchData.py +++ b/fetchData/fetchData.py @@ -38,7 +38,7 @@ def getDataFromInternet(): sys.exit('File does not exist: '+file_name) def getGemeindeverzeichnis(): - file_name = r'./ortschaftenverzeichnis_plz_2056.csv/PLZO_CSV_LV95/PLZO_CSV_LV95.csv' + file_name = r'./ortschaftenverzeichnis_plz_2056.csv/AMTOVZ_CSV_LV95/AMTOVZ_CSV_LV95.csv' if os.path.exists(file_name): dfTown = pd.read_csv(file_name, sep=';', engine='python', dtype='unicode') else: