version 10.6 ready for merge

This commit is contained in:
clinton-hall 2014-08-26 21:01:33 +09:30
commit 5c1088c542
4 changed files with 11 additions and 3 deletions

View file

@ -130,7 +130,7 @@ class autoProcessTV:
logger.info('Found corrupt videos. Setting status Failed')
status = 1
failed = 1
if ('NZBNA_EVENT' in os.environ or 'NZBPP_DIRECTORY' in os.environ) and 'NZBOP_ARTICLECACHE' in os.environ:
if os.environ.has_key('NZBOP_VERSION') and os.environ['NZBOP_VERSION'][0:5] >= '14.0':
print('[NZB] MARK=BAD')
if failureLink:
failureLink = failureLink + '&corrupt=true'