version 0.4.97

This commit is contained in:
Kovid Goyal 2008-10-16 18:02:37 -07:00
parent 007f0a2edb
commit 407e856b1a
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -31,7 +31,8 @@ def fix_image_includes(tdir, match):
p = os.path.dirname(dest) p = os.path.dirname(dest)
if not os.path.exists(p): if not os.path.exists(p):
os.makedirs(p) os.makedirs(p)
shutil.copyfile(src, dest) if not os.path.exists(dest):
shutil.copyfile(src, dest)
def generate_html(txtfile, encoding, tdir): def generate_html(txtfile, encoding, tdir):