Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-11-29 20:53:31 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-11-29 20:53:31 +0000
commit0102b86b0de278a9db6c6b77b7ec1a892fce2604 (patch)
treec308bd8f5a7b25764da8e04323a8a90578b97763 /archinstall/lib
parentb60b173a91a842f2f5d024dba98df546452fc10e (diff)
Forgot 'self' in localize_path()
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/profiles.py2
1 files changed, 1 insertions, 1 deletions
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"