aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-11-23 17:43:42 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-11-23 17:43:42 +0100
commit3b6266b4bb6e7229557c2e68d9336fc08ad2b282 (patch)
tree0f5f8e81a1e91559525c522e42216b3964d58e2f
parenta2692ab56ff77cba165d37bb5250046a01338268 (diff)
downloadfuzzycat-3b6266b4bb6e7229557c2e68d9336fc08ad2b282.tar.gz
fuzzycat-3b6266b4bb6e7229557c2e68d9336fc08ad2b282.zip
fix group loop
-rw-r--r--fuzzycat/cluster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzzycat/cluster.py b/fuzzycat/cluster.py
index f3d547a..7d418ac 100644
--- a/fuzzycat/cluster.py
+++ b/fuzzycat/cluster.py
@@ -439,7 +439,7 @@ class Cluster:
There might be large clusters, which would currently exceed memory.
Mitigate by splitting large clusters into parts.
"""
- for k, g in enumerate(itertools.groupby(seq, key=key):
+ for k, g in itertools.groupby(seq, key=key):
payload = []
for i, line in enumerate(g):
if i > 0 and i == self.max_cluster_size: