Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/profiles.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/profiles.py')
-rw-r--r--archinstall/lib/profiles.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index 1948a819..5f69c8c6 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -196,9 +196,8 @@ class Profile(Script):
def is_top_level_profile(self):
with open(self.path, 'r') as source:
- source_data = source.read()
-
# TODO: I imagine that there is probably a better way to write this.
+ source_data = source.read()
return 'top_level_profile = True' in source_data
@property