remove import of our seeparklib
authorgregor herrmann <gregor@toastfreeware.priv.at>
Thu, 9 Aug 2018 13:09:44 +0000 (15:09 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Thu, 9 Aug 2018 13:09:44 +0000 (15:09 +0200)
not used anymore since we get the openweathermap data from the database

web/seepark_web.py

index 72c74e7..00d122f 100644 (file)
@@ -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)