From 614d6374b86120eb3a34fc8316235feb3eeb9d81 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 8 Jul 2020 13:42:48 +0000 Subject: Forgot to split the path, assumed it was a list --- archinstall/lib/general.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib') diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py index 508a2f89..7718f623 100644 --- a/archinstall/lib/general.py +++ b/archinstall/lib/general.py @@ -66,7 +66,7 @@ def supports_color(): return supported_platform and is_a_tty def locate_binary(name): - for PATH in os.environ['PATH']: + for PATH in os.environ['PATH'].split(':'): for root, folders, files in os.walk(PATH): for file in files: if file == name: -- cgit v1.2.3-70-g09d2