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:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-04-07 09:23:21 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-07 09:23:21 -0400
commit9756d9ed2daea533930e24a799ff9bf55891c203 (patch)
treef89dc422d5310ec35b10b52f0d46f2bd7dcf5b76 /archinstall/lib/profiles.py
parentf85fb66bc61ee9b90537da59be00b37f49e5ffb8 (diff)
Add i3 selections to desktop file
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