diff --git a/intel-gpu-exporter.py b/intel-gpu-exporter.py index 6acc40e..5658e08 100644 --- a/intel-gpu-exporter.py +++ b/intel-gpu-exporter.py @@ -143,7 +143,7 @@ def update(data): output += line try: - data = json.loads(output) + data = json.loads(output.strip(",")) logging.debug(data) update(data) output = ""