diff options
Diffstat (limited to 'pyuno/source')
-rw-r--r-- | pyuno/source/module/uno.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pyuno/source/module/uno.py b/pyuno/source/module/uno.py index 5fa7b135736d..b2a75bd03982 100644 --- a/pyuno/source/module/uno.py +++ b/pyuno/source/module/uno.py @@ -365,6 +365,8 @@ def _uno_import(name, *optargs, **kwargs): else: # How to create a module ?? mod = pyuno.__class__(module) + if mod is None: + raise py_import_exc d = mod.__dict__ |