From 82cd2b4c53c7dec96b813134ae5a1e9f678c5805 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Mon, 9 Dec 2019 22:13:33 +1300 Subject: [PATCH] fix deluge parsing #1680 --- core/utils/parsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/utils/parsers.py b/core/utils/parsers.py index 98f7d479..eff4b3e9 100644 --- a/core/utils/parsers.py +++ b/core/utils/parsers.py @@ -65,7 +65,7 @@ def parse_deluge(args): input_hash = args[1] input_id = args[1] 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: input_category = '' return input_directory, input_name, input_category, input_hash, input_id