From bfcd56f3580fb226d6d3a033890487d35319df8f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 23 Apr 2024 18:13:36 +0900 Subject: [PATCH] chore(format): run black on dev (#2008) Co-authored-by: github-actions[bot] --- infer/lib/rvcmd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infer/lib/rvcmd.py b/infer/lib/rvcmd.py index 167853f..b325d24 100644 --- a/infer/lib/rvcmd.py +++ b/infer/lib/rvcmd.py @@ -37,7 +37,8 @@ def check_model( if remove_incorrect: if not os.path.exists(bakfile): os.rename(str(target), bakfile) - else: os.remove(str(target)) + else: + os.remove(str(target)) return False if remove_incorrect and os.path.exists(bakfile): os.remove(bakfile)