diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2015-04-10 11:03:21 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2015-04-15 13:08:07 +0100 |
commit | c68e23cc2501ba2aa22a2c60dc7214224d68e579 (patch) | |
tree | 5c7d12c416cf1ac0ba30ea0e6c94cd3d55d70a6a /alot/settings | |
parent | 637b679003b353d2630fed8ca942f3ab522e68b5 (diff) |
config setting: shellcommand_external_filtering
that exposes ExternalAddressbook's new functionality
Diffstat (limited to 'alot/settings')
-rw-r--r-- | alot/settings/manager.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/alot/settings/manager.py b/alot/settings/manager.py index efceee53..9dfe52b0 100644 --- a/alot/settings/manager.py +++ b/alot/settings/manager.py @@ -128,8 +128,10 @@ class SettingsManager(object): cmd = abook['command'] regexp = abook['regexp'] if cmd is not None and regexp is not None: - args['abook'] = ExternalAddressbook(cmd, regexp) - + ef = abook['shellcommand_external_filtering'] + args['abook'] = ExternalAddressbook(cmd, + regexp, + external_filtering=ef) else: msg = 'underspecified abook of type \'shellcommand\':' msg += '\ncommand: %s\nregexp:%s' % (cmd, regexp) |