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:
AngelByDay 2019-02-22 12:24:51 -05:00 committed by GitHub
parent e92497b34e
commit 38307ececb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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