13 lines
629 B
Diff
13 lines
629 B
Diff
|
# upstream: yes
|
||
|
--- tremc
|
||
|
+++ tremc
|
||
|
@@ -438,7 +438,7 @@ class Transmission(object):
|
||
|
# TAG_TORRENT_DETAILS, but just passing seems to help.(?)
|
||
|
try:
|
||
|
torrent_details = response['arguments']['torrents'][0]
|
||
|
- torrent_details['pieces'] = base64.decodestring(bytes(torrent_details['pieces'], ENCODING))
|
||
|
+ torrent_details['pieces'] = base64.decodebytes(bytes(torrent_details['pieces'], ENCODING))
|
||
|
self.torrent_details_cache = torrent_details
|
||
|
self.upgrade_peerlist()
|
||
|
except IndexError:
|