diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2011-10-22 18:19:14 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2011-10-22 18:20:03 +0100 |
commit | d6d8027ae81f51c215495728bac59e1964f7b821 (patch) | |
tree | 75ed497d0d0e092567bd17ed6eb4e3973d25499b /alot/account.py | |
parent | 81365335e1b3ae40ff36af13fd16ff0e5872e85d (diff) |
use first account for sending if no accout matches
issue #87
Diffstat (limited to 'alot/account.py')
-rw-r--r-- | alot/account.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/alot/account.py b/alot/account.py index fa47b177..0558794e 100644 --- a/alot/account.py +++ b/alot/account.py @@ -229,9 +229,7 @@ class AccountManager(object): for myad in self.get_addresses(): if myad in address: return self.accountmap[myad] - else: - return None - # log info + return None def get_main_addresses(self): """returns addresses of known accounts without its aliases""" |