diff --git a/app/app.py b/app/app.py index 32f635e2673fa57427ea289aec7cc5596606dfe7..fb9cf6c42754063003b0cf2ef275579b968ac3d7 100644 --- a/app/app.py +++ b/app/app.py @@ -29,7 +29,7 @@ def get_weather_data(): # Input check if longitude is None or latitude is None: return "BAD REQUEST: longitude (%s) and/or latitude (%s) is not set" % (longitude, latitude), 403 - wd_file = open(SITE_ROOT + "/data_files/2021_apelsvoll_redigert.json") + wd_file = open(SITE_ROOT + "/../data_files/2021_apelsvoll_redigert.json") weather_data = WeatherData(**json.load(wd_file)) wd_file.close()