simplifying return statement for validity years
This commit is contained in:
parent
318292704d
commit
6c46481ffd
@ -72,8 +72,7 @@ def determine_validity_years(years):
|
||||
return max_years
|
||||
if years not in [1, 2, 3]:
|
||||
return default_years
|
||||
else:
|
||||
return years
|
||||
return years
|
||||
|
||||
|
||||
def determine_end_date(end_date):
|
||||
|
Loading…
Reference in New Issue
Block a user