diff options
author | Tom Ritter <tom@ritter.vg> | 2016-02-02 11:30:02 -0500 |
---|---|---|
committer | Tom Ritter <tom@ritter.vg> | 2016-02-02 11:30:02 -0500 |
commit | 1e09fc3a5b44a2130f8d1b24967a39ff20ea999a (patch) | |
tree | 3cb672d593354b3c13e9ada2a99ba4bdfa08d207 /jobmanager.py | |
parent | 2fe68bac48427e687888fb8de13eea541d531610 (diff) |
Add in the friendly name to the state file for debugging
Diffstat (limited to 'jobmanager.py')
-rwxr-xr-x | jobmanager.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |