Update stbbranding.py

This commit is contained in:
gutosie
2023-01-16 15:46:36 +02:00
committed by GitHub
parent 64fdbf4594
commit a6efb86f5c

View File

@@ -45,9 +45,11 @@ def clearMemory():
def LogCrashGS(line):
log_file = open('%sImageBoot/neoboot.log' % getNeoLocation(), 'a')
log_file.write(line)
log_file.close()
if os.path.isfile('' + getNeoLocation() + 'ImageBoot/neoboot.log'):
os.system(' rm -f ' + getNeoLocation() + 'ImageBoot/neoboot.log;')
log_file = open('%sImageBoot/neoboot.log' % getNeoLocation(), 'a')
log_file.write(line)
log_file.close()
def fileCheck(f, mode='r'):