mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
cleanup edits
This commit is contained in:
parent
5a6ef827c8
commit
b1d7847c20
2 changed files with 4 additions and 4 deletions
|
@ -54,11 +54,11 @@ if os.environ['NZBOP_VERSION'][0:5] < '11.0':
|
||||||
print "NZBGet Version %s is not supported. Please update NZBGet." % (str(os.environ['NZBOP_VERSION']))
|
print "NZBGet Version %s is not supported. Please update NZBGet." % (str(os.environ['NZBOP_VERSION']))
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
print "Script triggered from NZBGet Version %s." % (str(os.environ['NZBOP_VERSION'][0:5]))
|
print "Script triggered from NZBGet Version %s." % (str(os.environ['NZBOP_VERSION']))
|
||||||
status = 0
|
status = 0
|
||||||
if os.environ.has_key('NZBPP_TOTALSTATUS'):
|
if os.environ.has_key('NZBPP_TOTALSTATUS'):
|
||||||
if not os.environ['NZBPP_TOTALSTATUS'] == 'SUCCESS':
|
if not os.environ['NZBPP_TOTALSTATUS'] == 'SUCCESS':
|
||||||
print "Download failed with status %s." % (os.environ['NZBPP_STATUS']))
|
print "Download failed with status %s." % (os.environ['NZBPP_STATUS'])
|
||||||
status = 1
|
status = 1
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -24,11 +24,11 @@ if os.environ['NZBOP_VERSION'][0:5] < '11.0':
|
||||||
print "NZBGet Version %s is not supported. Please update NZBGet." % (str(os.environ['NZBOP_VERSION']))
|
print "NZBGet Version %s is not supported. Please update NZBGet." % (str(os.environ['NZBOP_VERSION']))
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
print "Script triggered from NZBGet Version %s." % (str(os.environ['NZBOP_VERSION'][0:5]))
|
print "Script triggered from NZBGet Version %s." % (str(os.environ['NZBOP_VERSION']))
|
||||||
status = 0
|
status = 0
|
||||||
if os.environ.has_key('NZBPP_TOTALSTATUS'):
|
if os.environ.has_key('NZBPP_TOTALSTATUS'):
|
||||||
if not os.environ['NZBPP_TOTALSTATUS'] == 'SUCCESS':
|
if not os.environ['NZBPP_TOTALSTATUS'] == 'SUCCESS':
|
||||||
print "Download failed with status %s." % (os.environ['NZBPP_STATUS']))
|
print "Download failed with status %s." % (os.environ['NZBPP_STATUS'])
|
||||||
status = 1
|
status = 1
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue