summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-05-15 18:12:39 +0200
committerAnton Khirnov <anton@khirnov.net>2021-05-15 18:12:39 +0200
commit4bfcf4787a1528744624701f7634928d991f7a53 (patch)
treeb1dc2fdbd04301ca843acf8af623799e3ddf2436
parent1462d083bf7efd5e8919b3fe23c71f9cb7e792a9 (diff)
mail/envelope: add missing import
Forgotten during move in fe1450cba.
-rw-r--r--alot/helper.py1
-rw-r--r--alot/mail/envelope.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/alot/helper.py b/alot/helper.py
index 0664f71e..143babbe 100644
--- a/alot/helper.py
+++ b/alot/helper.py
@@ -5,7 +5,6 @@
# For further details see the COPYING file
from collections import deque
import logging
-import mimetypes
import os
import re
import shlex
diff --git a/alot/mail/envelope.py b/alot/mail/envelope.py
index c4ac291b..4714b32d 100644
--- a/alot/mail/envelope.py
+++ b/alot/mail/envelope.py
@@ -9,6 +9,7 @@ import email
import email.policy
from email.message import MIMEPart
import email.charset as charset
+import mimetypes
from urllib.parse import unquote
import gpg