summaryrefslogtreecommitdiff
path: root/alot/commands/thread.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-08-03 14:34:55 -0700
committerDylan Baker <dylan@pnwbakers.com>2017-08-03 14:34:55 -0700
commit037f223debd0aabfab3e2aad880765764f973d31 (patch)
treefe9b094cd1a75355644ec860a48e5239c86afc3e /alot/commands/thread.py
parent827c9c0b78840048904883611a0c99bfa77b1725 (diff)
settings: do not store SettingsManager instance in __init__.py
This can create circular imports in unittests, which causes difficult to debug errors. Fixes #1076
Diffstat (limited to 'alot/commands/thread.py')
-rw-r--r--alot/commands/thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py
index ce5da649..0c23b037 100644
--- a/alot/commands/thread.py
+++ b/alot/commands/thread.py
@@ -31,7 +31,7 @@ from ..db.utils import extract_body
from ..db.envelope import Envelope
from ..db.attachment import Attachment
from ..db.errors import DatabaseROError
-from ..settings import settings
+from ..settings.const import settings
from ..helper import parse_mailcap_nametemplate
from ..helper import split_commandstring
from ..helper import email_as_string