Fixing slight typo related to reverting _run_explicit back to run_explicit.

This commit is contained in:
Gareth J. Greenaway 2018-02-20 11:17:59 -08:00
parent e8b0e64bf5
commit d15c8522b9
No known key found for this signature in database
GPG Key ID: 10B62F8A7CAD7A41

View File

@ -1245,8 +1245,8 @@ class Schedule(object):
# after the skip_during_range is over
if 'run_after_skip_range' in data and \
data['run_after_skip_range']:
if '_run_explicit' not in data:
data['_run_explicit'] = []
if 'run_explicit' not in data:
data['run_explicit'] = []
# Add a run_explicit for immediately after the
# skip_during_range ends
_run_immediate = (end + datetime.timedelta(seconds=self.opts['loop_interval'])).strftime('%Y-%m-%dT%H:%M:%S')