Commit be9b7055 authored by fred's avatar fred

mark diffusions as reruns when computing program

parent 86791d58
......@@ -156,6 +156,7 @@ def period_program(
d = [x for x in diffusions if x.datetime.timetuple()[:5] == schedule.datetime.timetuple()[:5]]
if d:
diffusions.remove(d[0])
d[0].rerun = program[i].rerun # keep track of reruns
program[i] = d[0]
for j, other_schedule in enumerate(program[i + 1 :]):
# remove other emissions scheduled at the same time
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment