Commit 6939099a7745a7801e340bb37aefedd3fc5c977d
1 parent
63a27a99
Exists in
master
fix: use a qualified path in local imports
This is a stepping stone towards python 3 support, that we need to fix the geocoder.
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
flaskr/geocoder.py
flaskr/models.py
@@ -8,7 +8,7 @@ from flask_sqlalchemy import SQLAlchemy | @@ -8,7 +8,7 @@ from flask_sqlalchemy import SQLAlchemy | ||
8 | from werkzeug.security import generate_password_hash, check_password_hash | 8 | from werkzeug.security import generate_password_hash, check_password_hash |
9 | from yaml import safe_load as yaml_load | 9 | from yaml import safe_load as yaml_load |
10 | 10 | ||
11 | -from content import get_path, base_url | 11 | +from flaskr.content import get_path, base_url |
12 | from flaskr.core import generate_unique_id, models | 12 | from flaskr.core import generate_unique_id, models |
13 | 13 | ||
14 | # These are not the emission "models" in the scientific meaning of the word. | 14 | # These are not the emission "models" in the scientific meaning of the word. |