Fix release file parsing and allow multiple release files as list

pull/59/head
Simon Stürz 2022-08-09 14:25:45 +02:00
parent 2124f1e81b
commit 7acb35d11c
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ FirmwareUpdateHandlerNxp::FirmwareUpdateHandlerNxp(const QFileInfo &updateProvid
return;
}
if (!releaseMap.value("releases").toList().isEmpty()) {
if (releaseMap.value("releases").toList().isEmpty()) {
qCWarning(dcZigbeeController()) << "Update provider configuration available but the release file does not contain available releases" << releaseFileInfo.absoluteFilePath();
return;
}