Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e567114 commit fc4c24cCopy full SHA for fc4c24c
1 file changed
Lib/encodings/__init__.py
@@ -59,7 +59,7 @@ def search_function(encoding):
59
import aliases
60
modname = aliases.aliases.get(modname, modname)
61
try:
62
- mod = __import__(modname, globals(), locals(), _import_tail)
+ mod = __import__('encodings.' + modname, globals(), locals(), _import_tail)
63
except ImportError,why:
64
mod = None
65
if mod is None:
0 commit comments