1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-19 20:53:35 +02:00

Cleaned up cover module

This commit is contained in:
2020-07-05 16:37:03 +02:00
parent 8bb1168969
commit 111854f686
7 changed files with 105 additions and 756 deletions

View File

@@ -165,6 +165,8 @@ def normalize(x):
def calibre_cover(title, author_string, series_string=None,
output_format='jpg', title_size=46, author_size=36,
logo_path=None):
# TODO(gryf): generate cover using pillow
return None
title = normalize(title)
author_string = normalize(author_string)
series_string = normalize(series_string)