diff options
-rw-r--r-- | gn3/csvcmp.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gn3/csvcmp.py b/gn3/csvcmp.py index 7b2ae74..ac09cc3 100644 --- a/gn3/csvcmp.py +++ b/gn3/csvcmp.py @@ -67,9 +67,9 @@ def csv_diff(base_csv, delta_csv, tmp_dir="/tmp"): width=_l)) # Now we can run the diff! - _r = run_cmd(cmd=("csvdiff " - f"'{file_name1}' '{file_name2}' " - "--format json")) + _r = run_cmd(cmd=('"csvdiff ' + f'{file_name1} {file_name2} ' + '--format json"')) if _r.get("code") == 0: _r = json.loads(_r.get("output")) if any(_r.values()): |