more indenting

This commit is contained in:
Clinton Hall 2013-03-06 11:49:50 -08:00
commit c047974223

View file

@ -24,7 +24,7 @@ if len(sys.argv) == 8:
# 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 autoProcessComics...") Logger.info("Script triggered from SABnzbd, starting autoProcessComics...")
result = autoProcessComics.processEpisode(sys.argv[1], sys.argv[3]) result = autoProcessComics.processEpisode(sys.argv[1], sys.argv[3])
# NZBGet # NZBGet
elif len(sys.argv) == 4: elif len(sys.argv) == 4:
@ -32,9 +32,9 @@ elif len(sys.argv) == 4:
# 1 The final directory of the job (full path) # 1 The final directory of the job (full path)
# 2 The original name of the NZB file # 2 The original name of the NZB file
# 3 The status of the download: 0 == successful # 3 The status of the download: 0 == successful
Logger.info("Script triggered from NZBGet, starting autoProcessComics...") Logger.info("Script triggered from NZBGet, starting autoProcessComics...")
result = autoProcessComics.processEpisode(sys.argv[1], sys.argv[2]) result = autoProcessComics.processEpisode(sys.argv[1], sys.argv[2])
else: else:
Logger.warn("Invalid number of arguments received from client. Exiting") Logger.warn("Invalid number of arguments received from client. Exiting")
sys.exit(-1) sys.exit(-1)