aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()