Skip to content

Commit 03e68cf

Browse files
Merge pull request #41 from huntflow/fix_debug_logging
fix debug logging
2 parents 0ce8735 + 7da1c98 commit 03e68cf

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

debian/changelog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
python-tortik (0.2.16) unstable; urgency=low
2+
3+
* Fix debug logging
4+
5+
-- Reznikov Aleksey <[email protected]> Wed, 10 May 2023 16:30:00 +0300
6+
17
python-tortik (0.2.15) unstable; urgency=low
28

39
* Added tornado error code processing

tortik/page.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def _on_fetch(response, name):
258258
name,
259259
response.code,
260260
content_type,
261-
response.body.decode("utf-8", errors="replace"),
261+
response.body.decode("utf-8", errors="replace") if response.body else None,
262262
)
263263
try:
264264
if "xml" in content_type:

tortik/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ def __parse_version_from_changelog():
1818
return None
1919

2020

21-
version = __parse_version_from_changelog() or "0.2.15"
21+
version = __parse_version_from_changelog() or "0.2.16"

0 commit comments

Comments
 (0)