diff options
-rwxr-xr-x | jobmanager.py | 2 |
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() |