From 037f223debd0aabfab3e2aad880765764f973d31 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 3 Aug 2017 14:34:55 -0700 Subject: settings: do not store SettingsManager instance in __init__.py This can create circular imports in unittests, which causes difficult to debug errors. Fixes #1076 --- alot/commands/globals.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alot/commands/globals.py') diff --git a/alot/commands/globals.py b/alot/commands/globals.py index 8e8c4fde..7c590802 100644 --- a/alot/commands/globals.py +++ b/alot/commands/globals.py @@ -34,7 +34,7 @@ from ..completion import TagsCompleter from ..widgets.utils import DialogBox from ..db.errors import DatabaseLockedError from ..db.envelope import Envelope -from ..settings import settings +from ..settings.const import settings from ..utils import argparse as cargparse MODE = 'global' -- cgit v1.2.3