diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-11-29 16:35:37 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-11-29 16:35:37 +0100 |
commit | dcd75a8bdb9b723a77713bc722f63e750019d445 (patch) | |
tree | 5b5c0568e615cc64b8f852fde5e51019bbd72a2f /alot | |
parent | 9398560306f5609bcf1d3fdda6511cdb3b67d3f3 (diff) |
mail/reply: fix deleting address from AddrList
Diffstat (limited to 'alot')
-rw-r--r-- | alot/mail/reply.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/mail/reply.py b/alot/mail/reply.py index 43381602..9e171cd8 100644 --- a/alot/mail/reply.py +++ b/alot/mail/reply.py @@ -114,7 +114,7 @@ class AddrList: def __delitem__(self, addr): addr_spec = self._addr_to_addr_spec(addr) - idx = self._addrs.index(addr_spec) + idx = self._addrs.index(self._addr_specs[addr_spec]) del self._addrs[idx] del self._addr_specs[addr_spec] |