Update uploader.py

default cover changed from none to pdf_preview when metadata parsing fails
pull/1613/head
dickreckard 4 years ago committed by GitHub
parent e012726cd4
commit cb7727900c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -106,7 +106,7 @@ def default_meta(tmp_file_path, original_file_name, original_file_extension):
extension=original_file_extension,
title=original_file_name,
author=_(u'Unknown'),
cover=None,
cover=pdf_preview(tmp_file_path, original_file_name),
description="",
tags="",
series="",

Loading…
Cancel
Save