summaryrefslogtreecommitdiff
path: root/alot/commands/globals.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-01-30 14:12:33 +0100
committerAnton Khirnov <anton@khirnov.net>2021-01-30 14:12:33 +0100
commitcd35ec5f89cff3ba8c7780209efa7e8b0628744d (patch)
treea5f21a0b08ab2ce8a182f6cce7283f15d8f14dea /alot/commands/globals.py
parent5dfe5a2831adbe3ec129d2ede1d9039739e98b71 (diff)
db/envelope: move to a new module "mail"
It has nothing to do with the database.
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r--alot/commands/globals.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py
index b95d37b9..65e8973b 100644
--- a/alot/commands/globals.py
+++ b/alot/commands/globals.py
@@ -29,7 +29,7 @@ from ..completion.contacts import ContactsCompleter
from ..completion.accounts import AccountCompleter
from ..completion.tags import TagsCompleter
from ..widgets.utils import DialogBox
-from ..db.envelope import Envelope
+from ..mail.envelope import Envelope
from ..settings.const import settings
from ..settings.errors import ConfigError, NoMatchingAccount
from ..utils import argparse as cargparse
@@ -673,7 +673,7 @@ class ComposeCommand(Command):
**kwargs):
"""
:param envelope: use existing envelope
- :type envelope: :class:`~alot.db.envelope.Envelope`
+ :type envelope: :class:`~alot.mail.envelope.Envelope`
:param headers: forced header values
:type headers: dict (str->str)
:param template: name of template to parse into the envelope after