[Python-modules-commits] [python-odf] 09/118: Bugfix: fileobj -> filename
Wolfgang Borgert
debacle at moszumanska.debian.org
Fri Oct 3 21:27:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to reference refs/remotes/upstream/master
in repository python-odf.
commit 7ba586988215a7708443a5b4898fcb46cc49812f
Author: Søren Roug <soren.roug at eea.europa.eu>
Date: Tue Nov 11 21:30:52 2008 +0000
Bugfix: fileobj -> filename
---
odf/opendocument.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/odf/opendocument.py b/odf/opendocument.py
index aa2ed9a..784ff70 100644
--- a/odf/opendocument.py
+++ b/odf/opendocument.py
@@ -287,7 +287,7 @@ class OpenDocument:
else:
ext = mimetypes.guess_extension(mediatype)
manifestfn = "Pictures/%0.0f%s" % ((time.time()*10000000000), ext)
- self.Pictures[manifestfn] = (IS_FILENAME, fileobj, mediatype)
+ self.Pictures[manifestfn] = (IS_FILENAME, filename, mediatype)
else:
manifestfn = filename
self.Pictures[manifestfn] = (IS_IMAGE, content, mediatype)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-odf.git
More information about the Python-modules-commits
mailing list