mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
Fixes issue with TorrentNoLink returning incorrect value.
This commit is contained in:
parent
65b4562d11
commit
dea4c5d32a
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ def processTorrent(inputDirectory, inputName, inputCategory, inputHash, inputID,
|
||||||
"We could not find a section with containing a download category labeled %s in your autoProcessMedia.cfg, Exiting!" % inputCategory)
|
"We could not find a section with containing a download category labeled %s in your autoProcessMedia.cfg, Exiting!" % inputCategory)
|
||||||
return -1
|
return -1
|
||||||
|
|
||||||
Torrent_NoLink = int(nzbtomedia.CFG[section][inputCategory]["Torrent_NoLink"])
|
Torrent_NoLink = int(nzbtomedia.CFG[section][inputCategory]["Torrent_NoLink"]) or 0
|
||||||
|
|
||||||
if clientAgent != 'manual':
|
if clientAgent != 'manual':
|
||||||
pause_torrent(clientAgent, inputHash, inputID, inputName)
|
pause_torrent(clientAgent, inputHash, inputID, inputName)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue