diff options
Diffstat (limited to 'scripting/source/pyprov/pythonscript.py')
-rw-r--r-- | scripting/source/pyprov/pythonscript.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/pyprov/pythonscript.py b/scripting/source/pyprov/pythonscript.py index bd2aa3e1670e..82973266a2b0 100644 --- a/scripting/source/pyprov/pythonscript.py +++ b/scripting/source/pyprov/pythonscript.py @@ -238,7 +238,7 @@ class MyUriHelper: log.debug( message ) raise RuntimeException( message, self.ctx ) - if xFileUri.isAbsolute(): + if not xFileUri.hasRelativePath(): message = "pythonscript: an absolute uri is invalid '" + sFileUri+ "'" log.debug( message ) raise RuntimeException( message, self.ctx ) |