diff --git a/kivy/modules/__init__.py b/kivy/modules/__init__.py index 1143c1f94..b13fc7521 100644 --- a/kivy/modules/__init__.py +++ b/kivy/modules/__init__.py @@ -117,8 +117,12 @@ class ModuleBase: module = __import__(name=modname) module = sys.modules[modname] except ImportError: - Logger.exception('Modules: unable to import <%s>' % name) - raise + try: + module = __import__(name=name) + module = sys.modules[name] + except ImportError: + Logger.exception('Modules: unable to import <%s>' % name) + raise # basic check on module if not hasattr(module, 'start'): Logger.warning('Modules: Module <%s> missing start() function' %