Updated dependency comicapi (removed pypdf2)

Updated dependency pyPDF2 ->pyPDF3
Fixed broken updater in case of http error
Bugfixes from testrun
Bugfix load cover for BasicMetadata
This commit is contained in:
Ozzie Isaacs 2021-03-18 18:56:00 +01:00
parent fcf9e7a1ef
commit 8f5c649d0f
4 changed files with 316 additions and 1140 deletions

View File

@ -325,6 +325,7 @@ class Updater(threading.Thread):
@staticmethod
def _load_nightly_data(repository_url, commit, status):
update_data = dict()
try:
headers = {'Accept': 'application/vnd.github.v3+json'}
r = requests.get(repository_url + '/git/commits/' + commit['object']['sha'],

View File

@ -102,7 +102,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=pdf_preview(tmp_file_path, original_file_name),
cover=None, #pdf_preview(tmp_file_path, original_file_name),
description="",
tags="",
series="",

View File

@ -30,7 +30,7 @@ rarfile>=2.7
# other
natsort>=2.2.0,<7.1.0
comicapi>= 2.1.3,<2.2.0
comicapi>= 2.2.0,<2.3.0
#Kobo integration
jsonschema>=3.2.0,<3.3.0

File diff suppressed because it is too large Load Diff