mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 13:23:18 -07:00
not all categories support uniquePath. Fixes #1064
This commit is contained in:
parent
0ce7582da5
commit
9beeeaa752
1 changed files with 4 additions and 1 deletions
|
@ -89,7 +89,10 @@ def processTorrent(inputDirectory, inputName, inputCategory, inputHash, inputID,
|
|||
Torrent_NoLink = int(section[usercat].get("Torrent_NoLink", 0))
|
||||
keep_archive = int(section[usercat].get("keep_archive", 0))
|
||||
extract = int(section[usercat].get('extract', 0))
|
||||
uniquePath = int(section[usercat].get("unique_path", 1))
|
||||
try:
|
||||
uniquePath = int(section[usercat].get("unique_path", 1))
|
||||
except:
|
||||
uniquePath = 1
|
||||
|
||||
if clientAgent != 'manual':
|
||||
core.pause_torrent(clientAgent, inputHash, inputID, inputName)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue