Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 17:27:53 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2019-11-29 17:27:53 +0100
commit92d9af970d0ea1d318c20bf0d6c1ec05168b5824 (patch)
tree9f4cfbac3a6048ef8b4546c596bdda7a3d251b8a
parentc5b44a6935b7b4fe3762202f3d2ae746e7ad24b3 (diff)
Fixing issues with the spawning of containers.
-rw-r--r--archinstall.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/archinstall.py b/archinstall.py
index f449c133..7ecb338a 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -319,10 +319,9 @@ class sys_command():#Thread):
for trigger in list(self.kwargs['events']):
if type(trigger) != bytes:
original = self.kwargs['events'][trigger]
- del(self.kwargs['events'][trigger])
-
trigger = bytes(original, 'UTF-8')
self.kwargs['events'][trigger] = self.kwargs['events'][original]
+ del(self.kwargs['events'][original])
if type(self.kwargs['events'][trigger]) != bytes:
self.kwargs['events'][trigger] = bytes(self.kwargs['events'][trigger], 'UTF-8')