mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-03 12:45:47 +01:00
dream arm test
This commit is contained in:
@@ -837,7 +837,7 @@ def NEOBootExtract(source, target, ZipDelete):
|
|||||||
if os.path.exists(sourcefile3) is True:
|
if os.path.exists(sourcefile3) is True:
|
||||||
if sourcefile3.endswith('.rar'):
|
if sourcefile3.endswith('.rar'):
|
||||||
os.system('echo "Installing iamge x.rar..."')
|
os.system('echo "Installing iamge x.rar..."')
|
||||||
cmd = 'unrar e ' + sourcefile3+ ' ' + getNeoLocation() + 'ImagesUpload/'
|
cmd = 'unrar e ' + sourcefile3+ ' ' + getNeoLocation() + 'ImagesUpload/ > /dev/null 2>&1'
|
||||||
rc = os.system(cmd)
|
rc = os.system(cmd)
|
||||||
if ZipDelete == 'True':
|
if ZipDelete == 'True':
|
||||||
rc = os.system('rm -rf ' + sourcefile3)
|
rc = os.system('rm -rf ' + sourcefile3)
|
||||||
|
|||||||
Reference in New Issue
Block a user