From 1e09fc3a5b44a2130f8d1b24967a39ff20ea999a Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Tue, 2 Feb 2016 11:30:02 -0500 Subject: Add in the friendly name to the state file for debugging --- jobmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jobmanager.py') diff --git a/jobmanager.py b/jobmanager.py index 9519379..e067a99 100755 --- a/jobmanager.py +++ b/jobmanager.py @@ -49,7 +49,7 @@ class JobManager: except: logging.warn("No state was found for " + thisJob.getStateName() + \ ", making up a dummy state for it.") - lastRunStatus = self.state[thisJob.getStateName()] = JobState.Empty(thisJob.getStateName()) + lastRunStatus = self.state[thisJob.getStateName()] = JobState.Empty(thisJob.getStateName(), thisJob.getName()) if not thisJob.execute(): #Unsuccessful run -- cgit v1.2.3