diff options
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/source/loader/pythonloader.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pyuno/source/loader/pythonloader.py b/pyuno/source/loader/pythonloader.py index 5b824a3c26a1..7c16e226bad9 100644 --- a/pyuno/source/loader/pythonloader.py +++ b/pyuno/source/loader/pythonloader.py @@ -100,6 +100,7 @@ class Loader( XImplementationLoader, XServiceInfo, unohelper.Base ): mod.__file__ = filename exec(codeobject, mod.__dict__) g_loadedComponents[url] = mod + fileHandle.close() return mod elif "vnd.openoffice.pymodule" == protocol: nSlash = dependent.rfind('/') |