fix noFlatten for SICKBEARD_TORRENT. fixes #262

This commit is contained in:
clinton-hall 2014-02-17 09:59:58 +10:30
commit 9e5ac17b37

View file

@ -129,7 +129,7 @@ def main(inputDirectory, inputName, inputCategory, inputHash, inputID):
useLink = 'no' # default to copy. useLink = 'no' # default to copy.
if inputCategory in sbCategory and sbFork in SICKBEARD_TORRENT: # Don't flatten when sending to SICKBEARD_TORRENT if inputCategory in sbCategory and sbFork in SICKBEARD_TORRENT: # Don't flatten when sending to SICKBEARD_TORRENT
noFlatten.extend(inputCategory) noFlatten.extend(sbCategory)
outputDestinationMaster = outputDestination # Save the original, so we can change this within the loop below, and reset afterwards. outputDestinationMaster = outputDestination # Save the original, so we can change this within the loop below, and reset afterwards.
now = datetime.datetime.now() now = datetime.datetime.now()