From 6939099a7745a7801e340bb37aefedd3fc5c977d Mon Sep 17 00:00:00 2001 From: Antoine Goutenoir Date: Mon, 29 Mar 2021 19:48:56 +0200 Subject: [PATCH] fix: use a qualified path in local imports --- flaskr/geocoder.py | 2 +- flaskr/models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flaskr/geocoder.py b/flaskr/geocoder.py index e670bb5..bc26504 100644 --- a/flaskr/geocoder.py +++ b/flaskr/geocoder.py @@ -2,7 +2,7 @@ import geopy import shelve import time -from core import get_path +from flaskr.core import get_path class CachedGeocoder: diff --git a/flaskr/models.py b/flaskr/models.py index d142652..f22b424 100755 --- a/flaskr/models.py +++ b/flaskr/models.py @@ -8,7 +8,7 @@ from flask_sqlalchemy import SQLAlchemy from werkzeug.security import generate_password_hash, check_password_hash from yaml import safe_load as yaml_load -from content import get_path, base_url +from flaskr.content import get_path, base_url from flaskr.core import generate_unique_id, models # These are not the emission "models" in the scientific meaning of the word. -- libgit2 0.21.2