in getstats.py [0:0]
def remove_empty(a_list): b_list = [] for item in a_list: if len(item) > 0: b_list.append(item) return b_list