Remove pointless traceback when fail to set cover in epub

This commit is contained in:
Kovid Goyal 2010-09-03 14:58:43 -06:00
parent 7ce2081c48
commit e497d0d1c4

View File

@ -196,8 +196,7 @@ def set_metadata(stream, mi, apply_null=False, update_timestamp=False):
try:
new_cdata = open(mi.cover, 'rb').read()
except:
import traceback
traceback.print_exc()
pass
if new_cdata and raster_cover:
try:
cpath = posixpath.join(posixpath.dirname(reader.opf_path),