index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2023-07-30 00:28:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-30 00:28:21 +0200 |
commit | a43344c5ae2249ddb70e535637915b30563c5038 (patch) | |
tree | 6183d5820cd09d32e7b24cb7a9eb7a099d4616c6 /archinstall/lib | |
parent | 29b528072551f32a0075b3f5c9d91d5ded019534 (diff) |
-rw-r--r-- | archinstall/lib/general.py | 2 |
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() |