From d876e169ff6b891166ea7e92d19b9b85225bc176 Mon Sep 17 00:00:00 2001 From: Pekko Sams Date: Wed, 3 Jul 2024 14:35:31 +0300 Subject: [PATCH] disable sorting --- municipalities.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/municipalities.py b/municipalities.py index 354fdc9..fc258b1 100644 --- a/municipalities.py +++ b/municipalities.py @@ -40,8 +40,10 @@ def get_emails(): name = row[1] emails.append((email, name)) - # Sort by the second element in a list of tuples because that's where the municipality names are - emails = sorted(emails, key=lambda x: x[1]) + ###### + # Sorthing happens by another means: EKIR-270 + # Sort by the second element in a list of tuples because that's where the municipality names are + # emails = sorted(emails, key=lambda x: x[1]) # Decorate the emails with some custom values that aren't municipalities ## emails.append(