Fix a crash

This commit is contained in:
Tobias Dammers 2022-03-04 10:34:46 +01:00
parent a4bbd1cd2c
commit 8e19cc190b

View File

@ -306,7 +306,7 @@ var importPayload = func (ofp) {
}
foreach (var node; weightNodes) {
var nodeName = node.getValue('name');
var nodeName = node.getValue('name') or '';
logprint(3, sprintf("Checking weight node %s", nodeName));