X-Git-Url: https://git.toastfreeware.priv.at/chrisu/seepark.git/blobdiff_plain/b986a4736e1027ea0f74e14f040c8241cb5760f7..5a46011332bbb5252b14d5cc1828772b09c3225e:/web/seepark_web.py diff --git a/web/seepark_web.py b/web/seepark_web.py index 065e3f2..f53585e 100644 --- a/web/seepark_web.py +++ b/web/seepark_web.py @@ -10,7 +10,9 @@ import flask.json from flask_sqlalchemy import SQLAlchemy -sys.path.append('..') +app_path = os.path.dirname(os.path.realpath(__file__)) +lib_path = os.path.join(cur_path, '..') +sys.path.append(lib_path) from seeparklib.openweathermap import openweathermap_json, OpenWeatherMapError