From 0fa2a80bf6ee08f0e58be02ce43e1b2ca60877e2 Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Tue, 21 Jan 2020 14:32:36 +1300 Subject: [PATCH] Fix Syno Parser #1671 --- 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 2fc5f070..12303a3d 100644 --- a/core/utils/parsers.py +++ b/core/utils/parsers.py @@ -91,7 +91,7 @@ def parse_synods(args): input_hash = os.getenv('TR_TORRENT_HASH') if not input_name: # No info passed. Assume manual download. return input_directory, input_name, input_category, input_hash, input_id - input_id = 'dbid_'.format(os.getenv('TR_TORRENT_ID')) + input_id = 'dbid_{0}'.format(os.getenv('TR_TORRENT_ID')) #res = core.TORRENT_CLASS.tasks_list(additional_param='detail') res = core.TORRENT_CLASS.tasks_info(input_id, additional_param='detail') logger.debug('result from syno {0}'.format(res))