Skip to content

Commit 57f352b

Browse files
authored
Workaround for missing comma (#338)
1 parent 925dcb8 commit 57f352b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

zppy/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ def get_active_status(task):
9595

9696

9797
def getYears(years_list):
98-
98+
if type(years_list) == str:
99+
# This will be the case if years_list is missing a trailing comma
100+
years_list = [years_list]
99101
year_sets = []
100102
for years in years_list:
101103

0 commit comments

Comments
 (0)