diff --git a/CHANGES.md b/CHANGES.md index 8265d0e3..dd17b5a5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -5,6 +5,11 @@ * Change requirements for pure py3 +### 3.27.7 (2023-02-18 22:40:00 UTC) + +* Fix using recently updated torrent parser for py3 bytes + + ### 3.27.6 (2023-02-18 20:10:00 UTC) * Fix show view edit language diff --git a/sickgear/search.py b/sickgear/search.py index ac2cde64..898f1f36 100644 --- a/sickgear/search.py +++ b/sickgear/search.py @@ -787,7 +787,7 @@ def cache_torrent_file( try: import torrent_parser as tp - torrent_meta = tp.decode(torrent_content, use_ordered_dict=True) + torrent_meta = tp.decode(torrent_content, use_ordered_dict=True, errors='usebytes') except (BaseException, Exception): return