aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fuzzycat/cluster.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/fuzzycat/cluster.py b/fuzzycat/cluster.py
index dde0688..9a8d5db 100644
--- a/fuzzycat/cluster.py
+++ b/fuzzycat/cluster.py
@@ -272,6 +272,9 @@ class Cluster:
except (KeyError, ValueError):
counter["key_extraction_failed"] += 1
continue
+ if not key:
+ counter["key_empty"] += 1
+ continue
if self.key_denylist and key in self.key_denylist:
counter["key_denylist"] += 1
continue