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>2020-03-15 20:45:56 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-03-15 20:45:56 +0000
commit2f283a433801eb0e15c961cb38c99554020bd506 (patch)
tree26f77b352e6c2df49622e5bbf980cd09051fdb16
parent4e04badd655f2fdd469f48228388bc4f88568ffd (diff)
Changed client to worker, more correct.
-rw-r--r--archinstall.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall.py b/archinstall.py
index 62bbf245..7c970cf3 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -209,7 +209,7 @@ class sys_command():#Thread):
self.cmd = shlex.split(cmd)
self.args = args
self.kwargs = kwargs
- if not 'client' in self.kwargs: self.kwargs['client'] = None
+ if not 'worker' in self.kwargs: self.kwargs['worker'] = None
self.callback = callback
self.pid = None
self.exit_code = None
@@ -315,7 +315,7 @@ class sys_command():#Thread):
log(self.cmd[0],'gave:', output.decode('UTF-8'), origin='spawn', level=4)
if 'on_output' in self.kwargs:
- self.kwargs['on_output'](self.kwargs['client'], output)
+ self.kwargs['on_output'](self.kwargs['worker'], output)
lower = output.lower()
broke = False