This commit is contained in:
Cayo Puigdefabregas 2022-03-29 16:59:33 +02:00
parent 3cd943037c
commit d39644716e
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ class ActionView(View):
# snapshot_data = decode_snapshot(json) # snapshot_data = decode_snapshot(json)
snapshot_data = json snapshot_data = json
if 'data' in json and not json.get("data", {}).get("dmidecode"): if 'data' in json and isinstance(json['data'], str):
snapshot_data = decode_snapshot(json) snapshot_data = decode_snapshot(json)
if not snapshot_data: if not snapshot_data: