Replace assignment with augmented assignment

This commit is contained in:
labrys 2016-05-31 03:35:25 -04:00 committed by Labrys
commit 03fa8bc973
2 changed files with 2 additions and 2 deletions

View file

@ -192,7 +192,7 @@ class autoProcessMovie(object):
if 'NZBOP_VERSION' in os.environ and os.environ['NZBOP_VERSION'][0:5] >= '14.0':
print('[NZB] MARK=BAD')
if failureLink:
failureLink = failureLink + '&corrupt=true'
failureLink += '&corrupt=true'
status = 1
elif clientAgent == "manual":
logger.warning("No media files found in directory %s to manually process." % (dirName), section)

View file

@ -172,7 +172,7 @@ class autoProcessTV(object):
if 'NZBOP_VERSION' in os.environ and os.environ['NZBOP_VERSION'][0:5] >= '14.0':
print('[NZB] MARK=BAD')
if failureLink:
failureLink = failureLink + '&corrupt=true'
failureLink += '&corrupt=true'
elif clientAgent == "manual":
logger.warning("No media files found in directory %s to manually process." % (dirName), section)
return [0, ""] # Success (as far as this script is concerned)