Peter Otten wrote: > for fileset in days.values(): > if len(fileset) > 1: > # process only the list with one or more files That should have been # process only the lists with two or more files > print("merging", fileset)