This commit is contained in:
shrlnm 2019-10-22 09:14:19 +03:00
parent e7f3734f43
commit 200344471e
2 changed files with 3 additions and 5 deletions

View File

@ -42,7 +42,7 @@ def find_DBs():
clip_found = True
break
if os.name == 'android':
if mod_globals.os == 'android':
if not clip_found:
print "ERROR: CLIP DB not found"
exit()
@ -71,6 +71,8 @@ def find_DBs():
print 'CLIP DB :',mod_globals.cliproot
if ddt_found:
print 'DDT DB :',mod_globals.ddtroot
if mod_globals.os != 'android':
mod_globals.opt_ddt = True
#check cache version
verfilename = "./cache/version09q.txt"

View File

@ -291,10 +291,6 @@ def main():
mod_ddt_utils.searchddtroot()
#check if DDT present
if os.path.exists(os.path.join(mod_globals.ddtroot, '/ecus')) and mod_globals.os != 'android':
mod_globals.opt_ddt = True
while( 1 ):
clearScreen()
choosen_ecu = se.chooseECU( mod_globals.opt_ecuid ) # choose ECU among detected