graphstats: Make check for stats prefixes more robust
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -112,7 +112,7 @@ class GatherShutdown:
|
||||
mcu = ""
|
||||
keyparts = {}
|
||||
for p in parts[2:]:
|
||||
if p.endswith(':'):
|
||||
if '=' not in p:
|
||||
mcu = p
|
||||
continue
|
||||
name, val = p.split('=', 1)
|
||||
|
||||
Reference in New Issue
Block a user