From 6b8550340ab682a9e21543b175c13219d0b0413f Mon Sep 17 00:00:00 2001 From: Harry Kodden Date: Wed, 9 Oct 2024 08:58:30 +0200 Subject: [PATCH] Combine PR-137 --- plsc_ordered.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plsc_ordered.py b/plsc_ordered.py index ff23629..dc52b52 100755 --- a/plsc_ordered.py +++ b/plsc_ordered.py @@ -100,7 +100,7 @@ def res(days, interval): # clean up the lists, such that we return empty lists if no attribute is present, rather than [None] for key, val in record.items(): - record[key] = list(filter(None, record[key])) + record[key] = list(filter(lambda n: n is not None, val)) rdn = f"uid={username}"