diff options
Diffstat (limited to 'gn3/computations/diff.py')
-rw-r--r-- | gn3/computations/diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/diff.py b/gn3/computations/diff.py index 4bbc6cf..af02f7f 100644 --- a/gn3/computations/diff.py +++ b/gn3/computations/diff.py @@ -6,7 +6,7 @@ from gn3.commands import run_cmd def generate_diff(data: str, edited_data: str) -> Optional[str]: """Generate the diff between 2 files""" - results = run_cmd(f"diff {data} {edited_data}", success_codes=[1, 2]) + results = run_cmd(f"diff {data} {edited_data}", success_codes=(1, 2)) if results.get("code", -1) > 0: return results.get("output") return None |