summaryrefslogtreecommitdiff
path: root/alot/commands/utils.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-07-19 11:21:50 -0700
committerDylan Baker <dylan@pnwbakers.com>2017-07-27 12:57:53 -0700
commit084e37cc9b5148d75f88936a353d5249824a4b60 (patch)
treea862d480f0571f827b63a88c6602840b77096e96 /alot/commands/utils.py
parent2504de648dd6413625387924baaca126eac68016 (diff)
settings/manager: Extend the get_account_by_address with return_default
This new return_default flag (which is an optional and default to False) will try to return the default account if it cannot find an account matching the address hint.
Diffstat (limited to 'alot/commands/utils.py')
-rw-r--r--alot/commands/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/alot/commands/utils.py b/alot/commands/utils.py
index f54d4f09..f8e5067d 100644
--- a/alot/commands/utils.py
+++ b/alot/commands/utils.py
@@ -5,6 +5,7 @@ from __future__ import absolute_import
import re
import logging
+
from twisted.internet.defer import inlineCallbacks, returnValue
from ..errors import GPGProblem, GPGCode