summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ritter <tom@ritter.vg>2016-02-02 12:45:24 -0500
committerTom Ritter <tom@ritter.vg>2016-02-02 12:45:24 -0500
commit877d48b85af0e41f30fb5918085c5dc717ecbb2c (patch)
treee05482a398e2d20e5aeb427357b4062cce2ffcb5
parent1e09fc3a5b44a2130f8d1b24967a39ff20ea999a (diff)
Fixing a typo that was breaking a bunch of stuff.
-rwxr-xr-xjobmanager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobmanager.py b/jobmanager.py
index e067a99..05481f6 100755
--- a/jobmanager.py
+++ b/jobmanager.py
@@ -64,7 +64,7 @@ class JobManager:
else:
#Successful Run
logging.info("Execution of " + thisJob.getName() + " succeeded")
- if lastRunStatus.CurrentStateSuccess == False and thisJob.notifyOnFailureEvery() == JobBase.FailureNotificationFrequency.ONSTATECHANGE:
+ if lastRunStatus.CurrentStateSuccess == False and thisJob.notifyOnFailureEvery() == JobBase.JobFailureNotificationFrequency.ONSTATECHANGE:
if not thisJob.onStateChangeSuccess():
emailWorks = False
lastRunStatus.markSuccessful()