diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-08-03 14:34:55 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2017-08-03 14:34:55 -0700 |
commit | 037f223debd0aabfab3e2aad880765764f973d31 (patch) | |
tree | fe9b094cd1a75355644ec860a48e5239c86afc3e /alot/db/manager.py | |
parent | 827c9c0b78840048904883611a0c99bfa77b1725 (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/db/manager.py')
-rw-r--r-- | alot/db/manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/db/manager.py b/alot/db/manager.py index cd0c5073..ab5785eb 100644 --- a/alot/db/manager.py +++ b/alot/db/manager.py @@ -23,7 +23,7 @@ from .errors import NonexistantObjectError from .message import Message from .thread import Thread from .utils import is_subdir_of -from ..settings import settings +from ..settings.const import settings class FillPipeProcess(multiprocessing.Process): |