9q fix#5
This commit is contained in:
parent
e7f3734f43
commit
200344471e
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user