diff options
Diffstat (limited to 'gn3/csvcmp.py')
-rw-r--r-- | gn3/csvcmp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/csvcmp.py b/gn3/csvcmp.py index 82d74d0..43b795d 100644 --- a/gn3/csvcmp.py +++ b/gn3/csvcmp.py @@ -79,7 +79,7 @@ def csv_diff(base_csv, delta_csv, tmp_dir="/tmp") -> dict: f"{file_name1} {file_name2} " '--format json"')) if _r.get("code") == 0: - _r = json.loads(_r.get("output")) + _r = json.loads(_r.get("output", "")) if any(_r.values()): _r["Columns"] = max(base_csv_header, delta_csv_header) else: |