Update extract.py

This commit is contained in:
gutosie
2022-12-14 13:36:55 +02:00
committed by GitHub
parent 7f47493c95
commit a50be7da19

View File

@@ -71,7 +71,7 @@ def getCPUtype():
def getKernelVersion():
if os.path.exists('' + getNeoLocation() + 'ImagesUpload/dm520') or os.path.exists('' + getNeoLocation() + 'ImagesUpload/dm525') :
result = popen('uname -r', 'r').read().strip('\n').split('-')
result = open('uname -r', 'r').read().strip('\n').split('-')
kernel_version = result[0]
return kernel_version
else: