From 30a8708e3c35e4d71a92f16fa9460a5e48a442ab Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Thu, 9 Aug 2018 15:09:44 +0200 Subject: [PATCH] remove import of our seeparklib not used anymore since we get the openweathermap data from the database --- web/seepark_web.py | 6 ------ 1 file changed, 6 deletions(-) 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) -- 2.47.3