aboutsummaryrefslogtreecommitdiff
path: root/gn3/csvcmp.py
diff options
context:
space:
mode:
authorBonfaceKilz2022-03-12 17:36:15 +0300
committerBonfaceKilz2022-03-12 17:38:12 +0300
commit81cfd736b5263e3f95eda41cda41a78aaf361851 (patch)
tree7eae3fc1eaec06fc0f268da73c3dda127270c950 /gn3/csvcmp.py
parentf27f8470e79857c9c088e230a141995c3127640b (diff)
downloadgenenetwork3-81cfd736b5263e3f95eda41cda41a78aaf361851.tar.gz
Fix mypy issues
Diffstat (limited to 'gn3/csvcmp.py')
-rw-r--r--gn3/csvcmp.py2
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: