mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 02:01:16 +00:00
utils/serializer: Fix attempting to deserialize a single value.
This commit is contained in:
parent
dcf0418379
commit
88a4677434
@ -139,6 +139,8 @@ class WAJSONDecoder(_json.JSONDecoder):
|
||||
return v
|
||||
|
||||
def load_objects(d):
|
||||
if not hasattr(d, 'items'):
|
||||
return d
|
||||
pairs = []
|
||||
for k, v in d.items():
|
||||
if hasattr(v, 'items'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user