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