From a164a01c4de8266846959923a8838e1b8df61129 Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Wed, 27 Feb 2019 15:58:02 +1100 Subject: [PATCH] Fix relative path --- waternsw_grabber/waternsw_grabber.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/waternsw_grabber/waternsw_grabber.py b/waternsw_grabber/waternsw_grabber.py index b926f9e..5102c06 100644 --- a/waternsw_grabber/waternsw_grabber.py +++ b/waternsw_grabber/waternsw_grabber.py @@ -252,8 +252,7 @@ def extract_definitions(input_dir, output_dir): # Get basin info for telemetered site data csv_name = os.path.join( - os.path.dirname(os.path.dirname(__file__)), 'data', - 'telemetered-sites.csv') + os.path.dirname(__file__), 'data', 'telemetered-sites.csv') basins = pd.read_csv(csv_name, index_col=0) # Find zip files