simplifying return statement for validity years

This commit is contained in:
csine-nflx 2020-03-03 14:40:50 -08:00
parent 318292704d
commit 6c46481ffd
1 changed files with 1 additions and 2 deletions

View File

@ -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):