From 8946c4747d73c68aaf73a507c068b062753f121c Mon Sep 17 00:00:00 2001 From: Ryan Forsyth Date: Wed, 5 Oct 2022 11:01:50 -0500 Subject: [PATCH] Workaround for missing comma --- zppy/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zppy/utils.py b/zppy/utils.py index 3b81af1d..ebf8c9ce 100644 --- a/zppy/utils.py +++ b/zppy/utils.py @@ -95,7 +95,9 @@ def get_active_status(task): def getYears(years_list): - + if type(years_list) == str: + # This will be the case if years_list is missing a trailing comma + years_list = [years_list] year_sets = [] for years in years_list: