Update extract.py

This commit is contained in:
gutosie
2022-12-06 17:17:53 +02:00
committed by GitHub
parent 55a84e56bf
commit a1886a6e7b

View File

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