Skip to content

Commit ac2b4c3

Browse files
[pre-commit.ci] auto fixes from pre-commit hooks
1 parent b3bb807 commit ac2b4c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/diffpy/cmi/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,8 @@ def _cmd_install(ns: argparse.Namespace) -> int:
468468
else:
469469
r = pm.install(path if path.is_absolute() else path.stem)
470470
if isinstance(r, bool):
471-
if not r: rc = max(rc, 1)
471+
if not r:
472+
rc = max(rc, 1)
472473
elif isinstance(r, int):
473474
rc = max(rc, r)
474475
except (ValueError, FileNotFoundError) as e:

0 commit comments

Comments
 (0)