version 0.4.95

This commit is contained in:
Kovid Goyal 2008-10-10 18:39:48 -07:00
parent 361c8e9467
commit e273c937b8
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@ __license__ = 'GPL v3'
__copyright__ = '2008, Kovid Goyal kovid@kovidgoyal.net'
__docformat__ = 'restructuredtext en'
__appname__ = 'calibre'
__version__ = '0.4.94'
__version__ = '0.4.95'
__author__ = "Kovid Goyal <kovid@kovidgoyal.net>"
'''
Various run time constants.

View File

@ -71,6 +71,7 @@ def pdf2opf(path, tdir, opts):
def epub2opf(path, tdir, opts):
zf = ZipFile(path)
zf.extractall(tdir)
opts.chapter_mark = 'none'
if os.path.exists(os.path.join(tdir, 'META-INF', 'encryption.xml')):
raise DRMError(os.path.basename(path))
for f in walk(tdir):