Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/general.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2023-07-30 00:28:21 +0200
committerGitHub <noreply@github.com>2023-07-30 00:28:21 +0200
commita43344c5ae2249ddb70e535637915b30563c5038 (patch)
tree6183d5820cd09d32e7b24cb7a9eb7a099d4616c6 /archinstall/lib/general.py
parent29b528072551f32a0075b3f5c9d91d5ded019534 (diff)
Adding pack packages to profiles after they were removed (#1956)
* Added back xinit for awesome, since it can be used without a greeter, as well as other useful tools we've had in previous releases * Fixing xinitrc for awesome profile * Attempting to grab xorg packages when installing the desktop profile * Spelling error on xorg-server * Fixed sway value error on seat selection
Diffstat (limited to 'archinstall/lib/general.py')
-rw-r--r--archinstall/lib/general.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py
index 473f85a4..90af25ed 100644
--- a/archinstall/lib/general.py
+++ b/archinstall/lib/general.py
@@ -211,7 +211,7 @@ class SysCommandWorker:
return False
def write(self, data: bytes, line_ending :bool = True) -> int:
- assert type(data) == bytes # TODO: Maybe we can support str as well and encode it
+ assert isinstance(data, bytes) # TODO: Maybe we can support str as well and encode it
self.make_sure_we_are_executing()