summaryrefslogtreecommitdiff
path: root/alot/mail/envelope.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/mail/envelope.py')
-rw-r--r--alot/mail/envelope.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/mail/envelope.py b/alot/mail/envelope.py
index d3cace18..0a616a57 100644
--- a/alot/mail/envelope.py
+++ b/alot/mail/envelope.py
@@ -17,10 +17,10 @@ from . import headers as HDR
from .attachment import Attachment
from .. import __version__
-from .. import helper
from .. import crypto
from ..settings.const import settings
from ..errors import GPGProblem, GPGCode
+from ..utils.magic import guess_mimetype
charset.add_charset('utf-8', charset.QP, charset.QP, 'utf-8')
@@ -239,7 +239,7 @@ class Envelope:
with open(path, 'rb') as f:
data = f.read()
- ctype = helper.guess_mimetype(data)
+ ctype = guess_mimetype(data)
params = []