Gamez uses clean name from sabnzbd. fix #153

This commit is contained in:
clinton-hall 2013-06-16 07:51:55 +09:30
commit 3a96991061

View file

@ -157,7 +157,7 @@ elif len(sys.argv) == SABNZB_NO_OF_ARGUMENTS:
# 6 Group that the NZB was posted in e.g. alt.binaries.x # 6 Group that the NZB was posted in e.g. alt.binaries.x
# 7 Status of post processing. 0 = OK, 1=failed verification, 2=failed unpack, 3=1+2 # 7 Status of post processing. 0 = OK, 1=failed verification, 2=failed unpack, 3=1+2
Logger.info("Script triggered from SABnzbd, starting autoProcessGames...") Logger.info("Script triggered from SABnzbd, starting autoProcessGames...")
result = autoProcessGames.process(sys.argv[1], sys.argv[2], sys.argv[7]) result = autoProcessGames.process(sys.argv[1], sys.argv[3], sys.argv[7])
# NZBGet # NZBGet
elif len(sys.argv) == NZBGET_NO_OF_ARGUMENTS: elif len(sys.argv) == NZBGET_NO_OF_ARGUMENTS:
# NZBGet argv: # NZBGet argv: