From 52643801d3b5e39b5728d9f953614bb85b7cdfda Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Wed, 5 Feb 2020 23:04:28 +0100 Subject: [PATCH] Make quote search case-insensitive. --- plomsearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plomsearch.py b/plomsearch.py index 54eacbb..fc5665f 100644 --- a/plomsearch.py +++ b/plomsearch.py @@ -204,7 +204,7 @@ def search(query, string_list): def testStringMatchLogic(statement, compare_value): if type(statement) == str: - statement_true = statement in compare_value + statement_true = statement.lower() in compare_value.lower() elif type(statement) == CompoundStatement: or_list_true = False if len(statement.or_list) > 1: -- 2.30.2