From b1d7847c205bb8e339edb9e7017bf782cae357d7 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Thu, 29 May 2014 17:01:00 +0930 Subject: [PATCH] cleanup edits --- DeleteSamples.py | 4 ++-- ResetDateTime.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/DeleteSamples.py b/DeleteSamples.py index eeaf1040..4f644ff9 100755 --- a/DeleteSamples.py +++ b/DeleteSamples.py @@ -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'])) 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 if os.environ.has_key('NZBPP_TOTALSTATUS'): 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 else: diff --git a/ResetDateTime.py b/ResetDateTime.py index 0e6da2e8..1a99a3f5 100755 --- a/ResetDateTime.py +++ b/ResetDateTime.py @@ -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'])) 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 if os.environ.has_key('NZBPP_TOTALSTATUS'): 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 else: