mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 14:13:33 -07:00
fix deluge parsing #1680
This commit is contained in:
parent
7240a8e1be
commit
82cd2b4c53
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ def parse_deluge(args):
|
||||||
input_hash = args[1]
|
input_hash = args[1]
|
||||||
input_id = args[1]
|
input_id = args[1]
|
||||||
try:
|
try:
|
||||||
input_category = core.TORRENT_CLASS.core.get_torrent_status(input_id, ['label']).get()[b'label'].decode()
|
input_category = core.TORRENT_CLASS.core.get_torrent_status(input_id, ['label']).get(b'label').decode()
|
||||||
except Exception:
|
except Exception:
|
||||||
input_category = ''
|
input_category = ''
|
||||||
return input_directory, input_name, input_category, input_hash, input_id
|
return input_directory, input_name, input_category, input_hash, input_id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue