mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 18:47:09 -07:00
fix deluge client for python3. Fixes #1626
This commit is contained in:
parent
d39a7dd234
commit
f1dc672056
1 changed files with 2 additions and 1 deletions
|
@ -88,11 +88,12 @@ class DelugeClient(object):
|
|||
|
||||
def _introspect(self):
|
||||
def splitter(value):
|
||||
return value.split(b'.')
|
||||
return value.split('.')
|
||||
|
||||
self.modules = []
|
||||
|
||||
methods = self.remote_call('daemon.get_method_list').get()
|
||||
methods = (x.decode() for x in methods)
|
||||
methodmap = defaultdict(dict)
|
||||
|
||||
for module, method in imap(splitter, methods):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue