Update extract.py

This commit is contained in:
gutosie
2022-12-14 08:36:36 +02:00
committed by GitHub
parent f68ea1db1e
commit 6fcd3d65d8

View File

@@ -913,7 +913,7 @@ def NEOBootExtract(source, target, ZipDelete, Nandsim):
sourcefile4 = media + '/ImagesUpload/%s.gz' % source
#Instalacja *.tar.*
if not os.path.exists('/tmp/xz-gz-tar') and getCPUtype() != 'ARMv7'::
if not os.path.exists('/tmp/xz-gz-tar') and getCPUtype() != 'ARMv7':
fn = 'NewImage'
sourcelist = []
for fn in os.listdir('%sImagesUpload' % getNeoLocation()):