Skip to content

Commit 20a2005

Browse files
committed
Fix cli build
1 parent e3b2af5 commit 20a2005

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

kobodl/kobo.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ class Kobo:
5555
def __init__(self, user: User):
5656
self.InitializationSettings = {}
5757
self.Session = requests.session()
58-
self.Session.headers.update({
59-
"User-Agent": Kobo.UserAgent
60-
})
58+
self.Session.headers.update({"User-Agent": Kobo.UserAgent})
6159
self.user = user
6260

6361
# PRIVATE METHODS

tox.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,8 @@ commands =
2222
[testenv:buildcli]
2323
deps =
2424
pyinstaller
25+
# a temporary pin for Jinja/Sphinx
26+
# because MarkupSafe 2.1.0 is a breaking change
27+
MarkupSafe==2.0.1
2528
commands =
2629
pyinstaller --onefile kobodl/__main__.py {posargs}

0 commit comments

Comments
 (0)