We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ddf8fd6 + 64edb0f commit 149ce3aCopy full SHA for 149ce3a
awslambdaric/bootstrap.py
@@ -36,8 +36,7 @@ def _get_handler(handler):
36
"Cannot use built-in module {} as a handler module".format(modname),
37
)
38
return make_fault_handler(fault)
39
- modname = modname.replace("/", ".")
40
- m = importlib.import_module(modname)
+ m = importlib.import_module(modname.replace("/", "."))
41
except ImportError as e:
42
fault = FaultException(
43
FaultException.IMPORT_MODULE_ERROR,
0 commit comments