Commit 7d3eca8a authored by theos's avatar theos
Browse files

Fixed the import logic in the dependency_injector.

parent 6343088d
......@@ -35,7 +35,7 @@ class dependency_injector(object):
loaded_module = recursive_import(module_name)
except ImportError:
loaded_module = None
if loaded_module is not None:
if check is not None:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment