mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-22 06:13:19 -07:00
remove .json() fixes #1671
This commit is contained in:
parent
189b1a487e
commit
b9435e85b1
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ def parse_synods(args):
|
|||
input_hash = os.getenv('TR_TORRENT_HASH')
|
||||
input_id = os.getenv('TR_TORRENT_ID')
|
||||
res = core.TORRENT_CLASS.tasks_info(input_id, additional_param='detail')
|
||||
input_directory = res.json()['tasks'][0]['additional']['detail']['destination']
|
||||
input_directory = res['tasks'][0]['additional']['detail']['destination']
|
||||
return input_directory, input_name, input_category, input_hash, input_id
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue