fixes issue #624
This commit is contained in:
@@ -379,6 +379,10 @@ def get_todays_micro(plan,thedate=date.today()):
|
||||
|
||||
if thismicro:
|
||||
thismicro = thismicro[0]
|
||||
else:
|
||||
mms = TrainingMicroCycle.objects.all()
|
||||
|
||||
return None
|
||||
|
||||
return thismicro
|
||||
|
||||
|
||||
Reference in New Issue
Block a user