Unverified Commit 38307ece authored by AngelByDay's avatar AngelByDay Committed by GitHub

Force namespace resolution of imports

The current import for some local modules causes errors when those already exist in site-packages on the target system.
Namely "import db" is ambiguous and may cause errors due to loading of the 'db' PyPI package instead of the module.
parent e92497b3
...@@ -40,7 +40,7 @@ import json ...@@ -40,7 +40,7 @@ import json
import datetime import datetime
from iso639 import languages as isoLanguages from iso639 import languages as isoLanguages
import re import re
import db from cps import db
import gdriveutils import gdriveutils
from redirect import redirect_back from redirect import redirect_back
from cps import lm, babel, ub, config, get_locale, language_table, app from cps import lm, babel, ub, config, get_locale, language_table, app
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment