Skip to content

Commit

Permalink
Updated dependency comicapi (removed pypdf2)
Browse files Browse the repository at this point in the history
Updated dependency pyPDF2 ->pyPDF3
Fixed broken updater in case of http error
Bugfixes from testrun
Bugfix load cover for BasicMetadata
  • Loading branch information
OzzieIsaacs committed Mar 19, 2021
1 parent fcf9e7a commit 8f5c649
Show file tree
Hide file tree
Showing 4 changed files with 328 additions and 1,152 deletions.
1 change: 1 addition & 0 deletions cps/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ def _populate_parent_commits(update_data, status, locale, tz, parents):

@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'],
Expand Down
2 changes: 1 addition & 1 deletion cps/uploader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="",
Expand Down
2 changes: 1 addition & 1 deletion optional-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading

0 comments on commit 8f5c649

Please sign in to comment.