summaryrefslogtreecommitdiff
path: root/alot/account.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2011-10-22 18:19:14 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2011-10-22 18:20:03 +0100
commitd6d8027ae81f51c215495728bac59e1964f7b821 (patch)
tree75ed497d0d0e092567bd17ed6eb4e3973d25499b /alot/account.py
parent81365335e1b3ae40ff36af13fd16ff0e5872e85d (diff)
use first account for sending if no accout matches
issue #87
Diffstat (limited to 'alot/account.py')
-rw-r--r--alot/account.py4
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"""