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.
This commit is contained in:
parent
e92497b34e
commit
38307ececb
|
@ -40,7 +40,7 @@ import json
|
|||
import datetime
|
||||
from iso639 import languages as isoLanguages
|
||||
import re
|
||||
import db
|
||||
from cps import db
|
||||
import gdriveutils
|
||||
from redirect import redirect_back
|
||||
from cps import lm, babel, ub, config, get_locale, language_table, app
|
||||
|
|
Loading…
Reference in New Issue
Block a user