From 55b58d25bc78d714695d569032e53b0ea6e03293 Mon Sep 17 00:00:00 2001 From: "Piotr F. Mieszkowski" Date: Wed, 1 Jun 2022 23:23:51 +0200 Subject: [PATCH] Use literal separator '@' in sanitize_case_sense --- gpg-mailgate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpg-mailgate.py b/gpg-mailgate.py index 13e2a38..879a27a 100755 --- a/gpg-mailgate.py +++ b/gpg-mailgate.py @@ -341,7 +341,7 @@ def sanitize_case_sense( address ): else: splitted_address = address.split('@') if len(splitted_address) > 1: - address = splitted_address[0] + sep + splitted_address[1].lower() + address = splitted_address[0] + '@' + splitted_address[1].lower() return address