brown paper bag commit: always test after changing variable names
authorgregor herrmann <gregor@toastfreeware.priv.at>
Thu, 5 Jul 2018 18:38:02 +0000 (20:38 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Thu, 5 Jul 2018 18:38:02 +0000 (20:38 +0200)
(and rebase/fixup commits)

web/seepark_web.py

index 3ee9d9408ba6e08e4b52c04da6e133ab86deb3cd..c96632191781caae2a5df734a36197f68b804076 100644 (file)
@@ -11,7 +11,7 @@ from flask_sqlalchemy import SQLAlchemy, inspect
 
 
 app_path = os.path.dirname(os.path.realpath(__file__))
-lib_path = os.path.join(cur_path, '..')
+lib_path = os.path.join(app_path, '..')
 sys.path.append(lib_path)
 from seeparklib.openweathermap import openweathermap_json, OpenWeatherMapError