Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')