From 58b9442569ca349cdd92e1ddf720e0ac7847aa9a Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Thu, 11 Apr 2019 19:44:02 +0200 Subject: Missed another join() --- archinstall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall.py b/archinstall.py index 91383233..dfe44133 100644 --- a/archinstall.py +++ b/archinstall.py @@ -197,9 +197,9 @@ def update_git(): os.remove('/root/archinstall/archinstall.py') os.remove('/root/archinstall/README.md') - output = sys_command('(cd /root/archinstall; git fetch --all)').exec() # git reset --hard origin/ + output = b''.join(sys_command('(cd /root/archinstall; git fetch --all)').exec()) # git reset --hard origin/ - if b'error:' in b''.join(output): + if b'error:' in output: print('[N] Could not update git source for some reason.') return -- cgit v1.2.3-70-g09d2