Merge branch 'master' into Develop
This commit is contained in:
commit
a03c95329c
|
@ -233,6 +233,9 @@ def pdf_meta(tmp_file_path, original_file_name, original_file_extension):
|
|||
if subject == '':
|
||||
subject = doc_info.subject
|
||||
if tags == '' and '/Keywords' in doc_info:
|
||||
if isinstance(doc_info['/Keywords'], bytes):
|
||||
tags = doc_info['/Keywords'].decode('utf-8')
|
||||
else:
|
||||
tags = doc_info['/Keywords']
|
||||
else:
|
||||
title = original_file_name
|
||||
|
|
|
@ -38,7 +38,7 @@ beautifulsoup4>=4.0.1,<4.2.0
|
|||
cchardet>=2.0.0,<2.2.0
|
||||
|
||||
# Comics
|
||||
natsort>=2.2.0,<8.1.0
|
||||
natsort>=2.2.0,<8.2.0
|
||||
comicapi>=2.2.0,<2.3.0
|
||||
|
||||
# Kobo integration
|
||||
|
|
Loading…
Reference in New Issue
Block a user