diff options
| author | Alexander_Kabui | 2025-04-08 15:05:36 +0300 |
|---|---|---|
| committer | Alexander_Kabui | 2025-04-08 15:05:36 +0300 |
| commit | 27d9c9d6ef7f37066fc63af3d6585bf18aeec925 (patch) | |
| tree | 9f8b7a915598597960363eb02e6a175c9df80591 | |
| parent | 5e12bd18ecd5d5ff461cdf56c2c027218616ba0a (diff) | |
| download | genenetwork3-27d9c9d6ef7f37066fc63af3d6585bf18aeec925.tar.gz | |
fix: Pylint fix for unused variable.
| -rw-r--r-- | gn3/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/commands.py b/gn3/commands.py index 2cf0404..f55f3c4 100644 --- a/gn3/commands.py +++ b/gn3/commands.py @@ -159,7 +159,7 @@ def run_cmd(cmd: str, success_codes: Tuple = (0,), env: Optional[str] = None) -> """Run CMD and return the CMD's status code and output as a dict""" try: parsed_cmd = json.loads(cmd) - except json.decoder.JSONDecodeError as jderr: + except json.decoder.JSONDecodeError as _jderr: parsed_cmd = shlex.split(cmd) parsed_env = (json.loads(env) if env is not None else None) |
