diff options
Diffstat (limited to 'Lib/encodings/__init__.py')
-rw-r--r-- | Lib/encodings/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/encodings/__init__.py b/Lib/encodings/__init__.py index 8a50ac1..01463bc 100644 --- a/Lib/encodings/__init__.py +++ b/Lib/encodings/__init__.py @@ -91,7 +91,7 @@ def search_function(encoding): if not modname: continue try: - mod = __import__(modname, + mod = __import__('encodings.' + modname, globals(), locals(), _import_tail) except ImportError: pass |