Minor update

This commit is contained in:
Miroslav Stampar
2023-12-14 12:53:49 +01:00
parent 53b8a9583e
commit f176266e58
2 changed files with 2 additions and 2 deletions

View File

@@ -736,7 +736,7 @@ def queryOutputLength(expression, payload):
debugMsg = "performed %d quer%s in %.2f seconds" % (count, 'y' if count == 1 else "ies", calculateDeltaSeconds(start))
logger.debug(debugMsg)
if length == " ":
if isinstance(length, six.string_types) and length.isspace():
length = 0
return length