mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 13:53:15 -07:00
Fix uTorrent with Python3 (#1644)
* Remove temp workaround for Microsoft Azure python issues.
This commit is contained in:
parent
9d05d6c914
commit
5714540949
2 changed files with 26 additions and 26 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