mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
dont' fail if can't connect to deluge. Test category from directory.
This commit is contained in:
parent
e581ca25e0
commit
12ac0ef701
1 changed files with 4 additions and 1 deletions
|
@ -476,7 +476,10 @@ def parse_deluge(args):
|
||||||
inputName = args[2]
|
inputName = args[2]
|
||||||
inputHash = args[1]
|
inputHash = args[1]
|
||||||
inputID = args[1]
|
inputID = args[1]
|
||||||
inputCategory = nzbtomedia.TORRENT_CLASS.core.get_torrent_status(inputID, ['label']).get()['label']
|
try:
|
||||||
|
inputCategory = nzbtomedia.TORRENT_CLASS.core.get_torrent_status(inputID, ['label']).get()['label']
|
||||||
|
except:
|
||||||
|
inputCategory = ''
|
||||||
return inputDirectory, inputName, inputCategory, inputHash, inputID
|
return inputDirectory, inputName, inputCategory, inputHash, inputID
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue