mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-02 20:25:47 +01:00
Update stbbranding.py
This commit is contained in:
@@ -45,9 +45,11 @@ def clearMemory():
|
|||||||
|
|
||||||
|
|
||||||
def LogCrashGS(line):
|
def LogCrashGS(line):
|
||||||
log_file = open('%sImageBoot/neoboot.log' % getNeoLocation(), 'a')
|
if os.path.isfile('' + getNeoLocation() + 'ImageBoot/neoboot.log'):
|
||||||
log_file.write(line)
|
os.system(' rm -f ' + getNeoLocation() + 'ImageBoot/neoboot.log;')
|
||||||
log_file.close()
|
log_file = open('%sImageBoot/neoboot.log' % getNeoLocation(), 'a')
|
||||||
|
log_file.write(line)
|
||||||
|
log_file.close()
|
||||||
|
|
||||||
|
|
||||||
def fileCheck(f, mode='r'):
|
def fileCheck(f, mode='r'):
|
||||||
|
|||||||
Reference in New Issue
Block a user