bug fix
This commit is contained in:
@@ -1200,7 +1200,8 @@ def createmicrofillers(plan):
|
|||||||
plan = plan
|
plan = plan
|
||||||
).order_by("startdate")
|
).order_by("startdate")
|
||||||
|
|
||||||
if cycles[0].startdate > plan.startdate:
|
|
||||||
|
if cycles and cycles[0].startdate > plan.startdate:
|
||||||
macr = TrainingMicroCycle(
|
macr = TrainingMicroCycle(
|
||||||
plan=plan,
|
plan=plan,
|
||||||
startdate = plan.startdate,
|
startdate = plan.startdate,
|
||||||
|
|||||||
Reference in New Issue
Block a user