mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 22:03:13 -07:00
fix issues with utorrent and Python3 #1642
This commit is contained in:
parent
149484ff0a
commit
660fb1df53
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class UTorrentClient(object):
|
|||
url = urljoin(self.base_url, 'token.html')
|
||||
response = self.opener.open(url)
|
||||
token_re = "<div id='token' style='display:none;'>([^<>]+)</div>"
|
||||
match = re.search(token_re, response.read())
|
||||
match = re.search(token_re, str(response.read()))
|
||||
return match.group(1)
|
||||
|
||||
def list(self, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue