9q fix#5
This commit is contained in:
parent
e7f3734f43
commit
200344471e
@ -42,7 +42,7 @@ def find_DBs():
|
|||||||
clip_found = True
|
clip_found = True
|
||||||
break
|
break
|
||||||
|
|
||||||
if os.name == 'android':
|
if mod_globals.os == 'android':
|
||||||
if not clip_found:
|
if not clip_found:
|
||||||
print "ERROR: CLIP DB not found"
|
print "ERROR: CLIP DB not found"
|
||||||
exit()
|
exit()
|
||||||
@ -71,6 +71,8 @@ def find_DBs():
|
|||||||
print 'CLIP DB :',mod_globals.cliproot
|
print 'CLIP DB :',mod_globals.cliproot
|
||||||
if ddt_found:
|
if ddt_found:
|
||||||
print 'DDT DB :',mod_globals.ddtroot
|
print 'DDT DB :',mod_globals.ddtroot
|
||||||
|
if mod_globals.os != 'android':
|
||||||
|
mod_globals.opt_ddt = True
|
||||||
|
|
||||||
#check cache version
|
#check cache version
|
||||||
verfilename = "./cache/version09q.txt"
|
verfilename = "./cache/version09q.txt"
|
||||||
|
@ -291,10 +291,6 @@ def main():
|
|||||||
|
|
||||||
mod_ddt_utils.searchddtroot()
|
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 ):
|
while( 1 ):
|
||||||
clearScreen()
|
clearScreen()
|
||||||
choosen_ecu = se.chooseECU( mod_globals.opt_ecuid ) # choose ECU among detected
|
choosen_ecu = se.chooseECU( mod_globals.opt_ecuid ) # choose ECU among detected
|
||||||
|
Loading…
x
Reference in New Issue
Block a user