From d19707762c920bec7991dcd422e60cb88190181a Mon Sep 17 00:00:00 2001 From: Tatiana Korchuganova Date: Wed, 20 Nov 2024 13:47:43 +0100 Subject: [PATCH] core | fix wildcards --- core/libs/sqlcustom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/libs/sqlcustom.py b/core/libs/sqlcustom.py index 6da2c241..dc701c0f 100644 --- a/core/libs/sqlcustom.py +++ b/core/libs/sqlcustom.py @@ -64,7 +64,7 @@ def preprocess_wild_card_string(strToProcess, fieldToLookAt, **kwargs): for parameter in cardParametersRaw: leadStar = False trailStar = False - if currentParCount < countParameters - 1: + if len(parameter) > 0: if currentParCount - 1 >= 0: leadStar = True