Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix snatching for Xthor provider with Python 3 #7103

Merged
merged 2 commits into from
Sep 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Fixed charset on API v2 responses with plain text content ([#6931](https://github.com/pymedusa/Medusa/pull/6931))
- Fixed logger causing an exception in certain cases ([#6932](https://github.com/pymedusa/Medusa/pull/6932))
- Fixed testing Plex media server when using multiple hosts ([#6976](https://github.com/pymedusa/Medusa/pull/6976))
- Fixed snatching for Xthor provider with Python 3 ([#7103](https://github.com/pymedusa/Medusa/pull/7103))

-----

Expand Down
4 changes: 2 additions & 2 deletions medusa/providers/torrent/json/xthor.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ def parse(self, data, mode):
if not all([title, download_url]):
continue

seeders = row.get('seeders')
leechers = row.get('leechers')
seeders = int(row.get('seeders'))
leechers = int(row.get('leechers'))

# Filter unseeded torrent
if seeders < self.minseed:
Expand Down