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