diff options
Diffstat (limited to 'alot/account.py')
-rw-r--r-- | alot/account.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/alot/account.py b/alot/account.py index ce096b28..0404aa82 100644 --- a/alot/account.py +++ b/alot/account.py @@ -8,7 +8,6 @@ import shlex from ConfigParser import SafeConfigParser from urlparse import urlparse -from helper import cmd_output import helper @@ -322,7 +321,7 @@ class MatchSdtoutAddressbook(AddressBook): def lookup(self, prefix): cmdlist = shlex.split(self.command.encode('utf-8', errors='ignore')) - resultstring = cmd_output(cmdlist + [prefix]) + resultstring, errmsg, retval = helper.call_cmd(cmdlist + [prefix]) if not resultstring: return [] lines = resultstring.replace('\t', ' ' * 4).splitlines() |