Skip to content

Commit f4ed816

Browse files
committed
Fixes from testrun
1 parent ba77f41 commit f4ed816

3 files changed

Lines changed: 2233 additions & 315 deletions

File tree

cps/db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@ def speaking_language(self, languages=None, return_all_languages=False, with_cou
11151115
.group_by(text('books_languages_link.lang_code')).all()
11161116
tags = list()
11171117
for lang in languages:
1118-
tag = Category(isoLanguages.get_language_name(get_locale(), None, lang[0].lang_code), lang[0].lang_code)
1118+
tag = Category(isoLanguages.get_language_name(get_locale(), lang[0].lang_code), lang[0].lang_code)
11191119
tags.append([tag, lang[1]])
11201120
# Append all books without language to list
11211121
if not return_all_languages:

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ dependencies = [
3333
"Flask>=1.0.2,<3.2.0",
3434
"iso-639>=0.4.5,<0.5.0;python_version<'3.12'",
3535
"pycountry>=20.0.0,<27.0.0;python_version>='3.12'",
36-
"PyPDF>=6.1.3,<6.8.0",
36+
"PyPDF>=6.1.3,<6.11.0",
3737
"pytz>=2016.10",
3838
"requests>=2.32.0,<2.33.0",
3939
"SQLAlchemy>=1.3.0,<2.1.0",
4040
"tornado>=6.4.2,<6.6",
41-
"Wand>=0.4.4,<0.7.0",
41+
"Wand>=0.4.4,<0.8.0",
4242
"unidecode>=0.04.19,<1.5.0",
4343
"lxml>=4.9.1,<5.4.0",
4444
"flask-wtf>=0.14.2,<1.3.0",
@@ -51,7 +51,7 @@ dependencies = [
5151
"python-magic>=0.4.27,<0.5.0",
5252
"python-magic-bin>=0.4.0,<0.5.0;sys_platform=='win32'",
5353
"flask-httpAuth>=4.4.0,<5.0.0",
54-
"cryptography>=39.0.0,<47.0.0",
54+
"cryptography>=39.0.0,<48.0.0",
5555
"certifi>=2024.7.4,<2026.1.5",
5656
]
5757
dynamic = ["version"]

0 commit comments

Comments
 (0)