From a70c1991cae77c80a4643b5bebdc1a849afa163e Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 20 Nov 2021 15:24:03 +0100 Subject: commands/thread: replace one more header with named constant --- alot/commands/thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alot/commands') diff --git a/alot/commands/thread.py b/alot/commands/thread.py index 3e0bba01..4705a4c7 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -168,7 +168,7 @@ class ReplyCommand(Command): def _list_reply(self, message): # Auto-detect ML - if 'List-Id' in message.headers and self._force_list_reply is None: + if HDR.LIST_ID in message.headers and self._force_list_reply is None: return settings.get('auto_replyto_mailinglist') return bool(self._force_list_reply) -- cgit v1.2.3