From 7c488e4c1407821668cb4b413860a66e305fd43d Mon Sep 17 00:00:00 2001 From: Tatiana Korchuganova Date: Tue, 19 Nov 2024 12:01:13 +0100 Subject: [PATCH] core | fix wildcards if no actual str specified, just * --- 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 dc701c0f..6da2c241 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 len(parameter) > 0: + if currentParCount < countParameters - 1: if currentParCount - 1 >= 0: leadStar = True