diff options
author | Xisco Fauli <anistenis@gmail.com> | 2013-02-11 22:08:54 +0100 |
---|---|---|
committer | Xisco Fauli <anistenis@gmail.com> | 2013-02-11 22:08:54 +0100 |
commit | bbe6f3f59b72cbb3917f43265c59d084bab7cf6a (patch) | |
tree | b9293f349ec9420af47ce61e13c0ecd4e4dadd02 /wizards | |
parent | 57041602e2e0c5d1035359108ff1237a324c39d6 (diff) |
ups, don't delete this
Change-Id: I7a1ce167fcd388bc31a3f746ebaefd44949b5fb1
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/common/FileAccess.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wizards/com/sun/star/wizards/common/FileAccess.py b/wizards/com/sun/star/wizards/common/FileAccess.py index 409c15c4c267..c6957678b9fe 100644 --- a/wizards/com/sun/star/wizards/common/FileAccess.py +++ b/wizards/com/sun/star/wizards/common/FileAccess.py @@ -130,6 +130,8 @@ class FileAccess(object): @classmethod def getParentDir(self, url): + while url[-1] == "/": + url = url[:-1] return url[:url.rfind("/")] @classmethod |