From 0102b86b0de278a9db6c6b77b7ec1a892fce2604 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 29 Nov 2020 20:53:31 +0000 Subject: Forgot 'self' in localize_path() --- archinstall/lib/profiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index fc06ec77..9d000d67 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -88,7 +88,7 @@ class Script(): self.profile = profile self.converted_path = None - def localize_path(profile_path): + def localize_path(self, profile_path): if (url := urllib.parse.urlparse(profile_path)).scheme and url.scheme in ('https', 'http'): if not self.converted_path: self.converted_path = f"/tmp/{self.profile}_{hashlib.md5(os.urandom(12)).hexdigest()}.py" -- cgit v1.2.3-70-g09d2