From: gregor herrmann Date: Thu, 9 Aug 2018 13:09:44 +0000 (+0200) Subject: remove import of our seeparklib X-Git-Url: https://git.toastfreeware.priv.at/chrisu/seepark.git/commitdiff_plain/30a8708e3c35e4d71a92f16fa9460a5e48a442ab remove import of our seeparklib not used anymore since we get the openweathermap data from the database --- diff --git a/web/seepark_web.py b/web/seepark_web.py index 72c74e7..00d122f 100644 --- a/web/seepark_web.py +++ b/web/seepark_web.py @@ -9,12 +9,6 @@ import flask.json from flask_sqlalchemy import SQLAlchemy, inspect -app_path = os.path.dirname(os.path.realpath(__file__)) -lib_path = os.path.join(app_path, '..') -sys.path.append(lib_path) -from seeparklib.openweathermap import openweathermap_json, OpenWeatherMapError - - # https://stackoverflow.com/a/37350445 def sqlalchemy_model_to_dict(model): return {c.key: getattr(model, c.key)