dded ELIF at determine_end_date, becuase of error.

This commit is contained in:
sirferl 2020-10-09 11:41:44 +02:00
parent a6a4f458e0
commit d43e240a2a
1 changed files with 1 additions and 2 deletions

View File

@ -34,8 +34,7 @@ def determine_end_date(end_date):
if not end_date: if not end_date:
end_date = max_validity_end end_date = max_validity_end
elif end_date > max_validity_end:
if end_date > max_validity_end:
end_date = max_validity_end end_date = max_validity_end
return end_date.format('YYYY-MM-DD') return end_date.format('YYYY-MM-DD')