From bcd243d83e61f42284c6a8593cc73ddf6156f294 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Thu, 17 Feb 2022 17:52:51 +0100 Subject: [PATCH] Fix product length verification since it may vary in the end --- keba/kebaproductinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keba/kebaproductinfo.cpp b/keba/kebaproductinfo.cpp index aa885d7e..c70dad40 100644 --- a/keba/kebaproductinfo.cpp +++ b/keba/kebaproductinfo.cpp @@ -35,7 +35,7 @@ KebaProductInfo::KebaProductInfo(const QString &productString) : m_productString(productString) { qCDebug(dcKeba()) << "Parsing product information from" << productString.count() << productString; - if (m_productString.count() != 22) { + if (m_productString.count() < 19) { qCWarning(dcKeba()) << "Invalid product information string size for" << productString << ". Cannot parse."; m_isValid = false; return;