diff options
Diffstat (limited to 'pyuno/source/loader/pythonloader.py')
-rw-r--r-- | pyuno/source/loader/pythonloader.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyuno/source/loader/pythonloader.py b/pyuno/source/loader/pythonloader.py index 9a7114aea210..02f901942cbb 100644 --- a/pyuno/source/loader/pythonloader.py +++ b/pyuno/source/loader/pythonloader.py @@ -21,6 +21,7 @@ import unohelper import sys import types import os +from urllib.parse import unquote from com.sun.star.uno import Exception,RuntimeException from com.sun.star.loader import XImplementationLoader from com.sun.star.lang import XServiceInfo @@ -68,7 +69,7 @@ class Loader( XImplementationLoader, XServiceInfo, unohelper.Base ): protocol, dependent = splitUrl( url ) if "vnd.sun.star.expand" == protocol: exp = self.ctx.getValueByName( "/singletons/com.sun.star.util.theMacroExpander" ) - url = exp.expandMacros(dependent) + url = exp.expandMacros(unquote(dependent)) protocol,dependent = splitUrl( url ) if DEBUG: |