fix deluge parsing #1680

This commit is contained in:
clinton-hall 2019-12-09 22:13:33 +13:00
commit 82cd2b4c53

View file

@ -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