From bac73c671028aba32f573c5522e83f739676fa6b Mon Sep 17 00:00:00 2001 From: Tor-Einar Skog <tor-einar.skog@nibio.no> Date: Fri, 23 Dec 2022 11:23:21 +0100 Subject: [PATCH] Testing path fix --- app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.py b/app/app.py index 986f51f..f5e736e 100644 --- a/app/app.py +++ b/app/app.py @@ -27,7 +27,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("../data_files/2021_apelsvoll_redigert.json") + wd_file = open("./data_files/2021_apelsvoll_redigert.json") weather_data = WeatherData(**json.load(wd_file)) wd_file.close() -- GitLab