From c136d0bd312c422be203e8ea70430411da6d2120 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 23 Apr 2024 08:06:47 +0000 Subject: [PATCH] chore(format): run black on dev --- 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)