mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-04-21 21:51:32 +02:00
Removed superfluous lopen builtin
This commit is contained in:
@@ -113,7 +113,7 @@ class HTMLZOutput(OutputFormatPlugin):
|
||||
if cover_data:
|
||||
from ebook_converter.utils.img import save_cover_data_to
|
||||
cover_path = os.path.join(tdir, u'cover.jpg')
|
||||
with lopen(cover_path, 'w') as cf:
|
||||
with open(cover_path, 'w') as cf:
|
||||
cf.write('')
|
||||
save_cover_data_to(cover_data, cover_path)
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user