mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-11 05:33:57 +00:00
Update uploader.py
default cover changed from none to pdf_preview when metadata parsing fails
This commit is contained in:
parent
e012726cd4
commit
cb7727900c
@ -106,7 +106,7 @@ def default_meta(tmp_file_path, original_file_name, original_file_extension):
|
|||||||
extension=original_file_extension,
|
extension=original_file_extension,
|
||||||
title=original_file_name,
|
title=original_file_name,
|
||||||
author=_(u'Unknown'),
|
author=_(u'Unknown'),
|
||||||
cover=None,
|
cover=pdf_preview(tmp_file_path, original_file_name),
|
||||||
description="",
|
description="",
|
||||||
tags="",
|
tags="",
|
||||||
series="",
|
series="",
|
||||||
|
Loading…
Reference in New Issue
Block a user