From 0ae16b6297e2f3ed1cb150166d6c6f7864ac96c5 Mon Sep 17 00:00:00 2001 From: Giancarlo Razzolini Date: Mon, 1 Jun 2020 07:04:40 -0300 Subject: [PATCH] afew/filters/FolderNameFilter.py: Fix type on shlex call Commit 77bc8795881d374a1d6cd98266a77932d979d522 introduced a typo on the shlex call. --- afew/filters/FolderNameFilter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/afew/filters/FolderNameFilter.py b/afew/filters/FolderNameFilter.py index e5155af..effe949 100644 --- a/afew/filters/FolderNameFilter.py +++ b/afew/filters/FolderNameFilter.py @@ -17,7 +17,7 @@ def __init__(self, database, folder_blacklist='', folder_transforms='', self.__filename_pattern = '{mail_root}/(?P.*)/(cur|new)/[^/]+'.format( mail_root=notmuch_settings.get('database', 'path').rstrip('/')) self.__folder_explicit_list = set(shlex.split(folder_explicit_list)) - self.__folder_blacklist = set(shelx.split(folder_blacklist)) + self.__folder_blacklist = set(shlex.split(folder_blacklist)) self.__folder_transforms = self.__parse_transforms(folder_transforms) self.__folder_lowercases = folder_lowercases != '' self.__maildir_separator = maildir_separator