summaryrefslogtreecommitdiff
path: root/alot/commands.py
diff options
context:
space:
mode:
authorpazz <patricktotzke@gmail.com>2011-07-26 10:21:17 +0100
committerpazz <patricktotzke@gmail.com>2011-07-26 10:21:17 +0100
commitf85c26fb264428eb7d93b618a8eea2b09d3a7610 (patch)
treec9fa5b31623edf4ffaa85d0e9be34bafa44564af /alot/commands.py
parent8793c9168d196dde55d6dc35e3694c0dc4ab375f (diff)
accountmanager ->account.py
Diffstat (limited to 'alot/commands.py')
-rw-r--r--alot/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands.py b/alot/commands.py
index cab23947..09d5c3b5 100644
--- a/alot/commands.py
+++ b/alot/commands.py
@@ -394,7 +394,7 @@ class ComposeCommand(Command):
if not fromaddress:
ui.notify('canceled')
return
- a = get_account_by_address(fromaddress)
+ a = ui.accountman.get_account_by_address(fromaddress)
self.headers['From'] = "%s <%s>" % (a.realname, a.address)
#get To header