Fixed when no Holiday data
This commit is contained in:
@@ -22,6 +22,9 @@ class CalendarHelper:
|
||||
# step two
|
||||
# create a dict [date, list[holiday]] according to the sorted list names
|
||||
|
||||
if len(records) == 0:
|
||||
return [], {}
|
||||
|
||||
# step 1
|
||||
temp = {}
|
||||
names = set()
|
||||
|
||||
Reference in New Issue
Block a user