Skip to content

Commit

Permalink
Fix DEFAULT.monitor_schedule not honored
Browse files Browse the repository at this point in the history
  • Loading branch information
cvaroqui committed Sep 5, 2019
1 parent 4763602 commit 9085fc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rcScheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def sched_get_schedule_raw(self, section, option):
raise SchedNoDefault

try:
schedule_s = self.obj.oget(section, "schedule")
schedule_s = self.obj.oget(section, option if section == "DEFAULT" else "schedule")
except ValueError:
# keyword not found
schedule_s = None
Expand Down

0 comments on commit 9085fc4

Please sign in to comment.