From 2d7b6268dd5dc75f88c94352d6b8b472f1715686 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 21 Oct 2022 07:20:30 +0100 Subject: [PATCH] Don't shadow previous iterator variable --- db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.py b/db.py index 7d265c5..f6b3774 100644 --- a/db.py +++ b/db.py @@ -112,7 +112,7 @@ async def store_kafka_batch(data): # ) log.debug( "Kafka batches sent: " - + ", ".join([topic + ": " + str(len(topicmap[topic])) for topic in topicmap]) + + ", ".join([tpc + ": " + str(len(topicmap[tpc])) for tpc in topicmap]) ) await producer.stop()