Update uploader.py

default cover changed from none to pdf_preview when metadata parsing fails
This commit is contained in:
dickreckard 2020-09-07 13:30:03 +02:00 committed by GitHub
parent e012726cd4
commit cb7727900c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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="",