diff --git a/wrapper.py b/wrapper.py index 804fa010..0ce32508 100644 --- a/wrapper.py +++ b/wrapper.py @@ -16,11 +16,11 @@ from __future__ import print_function try: - from importlib.machinery import SourceFileLoader - _loader = lambda *args: SourceFileLoader(*args).load_module() + from importlib.machinery import SourceFileLoader + _loader = lambda *args: SourceFileLoader(*args).load_module() except ImportError: - import imp - _loader = lambda *args: imp.load_source(*args) + import imp + _loader = lambda *args: imp.load_source(*args) import os