From f50220310560ee32bb2372d2625e508c99b50b3c Mon Sep 17 00:00:00 2001 From: Elliott Wallace Date: Sun, 28 Feb 2021 13:49:03 +0000 Subject: [PATCH] Minor Windows-friendly updates some minor changes to avoid a couple of instances where step 4 would throw an error incorrectly when run in cmd --- check-install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check-install.py b/check-install.py index 047c79a..9dc26ef 100755 --- a/check-install.py +++ b/check-install.py @@ -46,9 +46,9 @@ ### 4 # check spleeter install try: - spleeter_result = subprocess.run(["spleeter", "-h"], capture_output=True).stdout.decode('utf-8') + spleeter_result = subprocess.run(["spleeter", "--help"], capture_output=True).stdout.decode('utf-8') - if "usage: spleeter" not in spleeter_result: + if "usage: spleeter" not in spleeter_result.lower(): print("(Step 4) Spleeter may be installed incorrectly.") # we'll get an error if spleeter has been set to 'Run as administrator'