Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/epubview/epubinfo.py
diff options
context:
space:
mode:
authorSayamindu Dasgupta <sayamindu@gmail.com>2009-09-02 18:36:54 (GMT)
committer Sayamindu Dasgupta <sayamindu@gmail.com>2009-09-02 18:36:54 (GMT)
commit47fe7dd173869aca32e6ea59286358da525f9336 (patch)
tree8acd930b53fe18d8ca7764da55cad83b8d2fc26a /epubview/epubinfo.py
parent0433b67dc2d74c16d6bcbe083beefbcd7134d686 (diff)
Sync with pyepubview, revision 25
Diffstat (limited to 'epubview/epubinfo.py')
-rw-r--r--epubview/epubinfo.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/epubview/epubinfo.py b/epubview/epubinfo.py
index ddf9ad5..d25dfc2 100644
--- a/epubview/epubinfo.py
+++ b/epubview/epubinfo.py
@@ -3,8 +3,8 @@ from lxml import etree
class EpubInfo(): #TODO: Cover the entire DC range
- def __init__(self, file):
- self._tree = etree.parse(file)
+ def __init__(self, opffile):
+ self._tree = etree.parse(opffile)
self._root = self._tree.getroot()
self._e_metadata = self._root.find('{http://www.idpf.org/2007/opf}metadata')