Missed another join()

This commit is contained in:
Anton Hvornum 2019-04-11 19:44:02 +02:00
parent 47e788c557
commit 58b9442569
1 changed files with 2 additions and 2 deletions

View File

@ -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/<branch_name>
output = b''.join(sys_command('(cd /root/archinstall; git fetch --all)').exec()) # git reset --hard origin/<branch_name>
if b'error:' in b''.join(output):
if b'error:' in output:
print('[N] Could not update git source for some reason.')
return