Skip to content

Commit 3ade6f6

Browse files
committed
new version 1.1.2
1 parent a778b4d commit 3ade6f6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

uno/lib/uno/embedded/documenthandler.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,10 @@ def _extractStorage(self, sf, source, url):
245245
count = 0
246246
if source.hasElements():
247247
for name in source.getElementNames():
248-
path = self._getPath(url, name)
248+
# FIXME: if we want to be able to open files
249+
# FIXME: from previous versions we need to rename the files
250+
newname = name.replace(self._folder, g_catalog)
251+
path = self._getPath(url, newname)
249252
if source.isStreamElement(name):
250253
input = source.openStreamElement(name, SEEKABLEREAD).getInputStream()
251254
sf.writeFile(path, input)

0 commit comments

Comments
 (0)