Cleaning file
This commit is contained in:
parent
e52e5fea94
commit
8f5f8845d9
@ -193,19 +193,6 @@ def run( elm, ecu, command, data ):
|
|||||||
ch = raw_input('Unknown diagnostic version. Press ENTER to exit')
|
ch = raw_input('Unknown diagnostic version. Press ENTER to exit')
|
||||||
return
|
return
|
||||||
|
|
||||||
# for i in ecusList:
|
|
||||||
# print i.vdiag
|
|
||||||
# print i.ncalib
|
|
||||||
# for l in i.buttons.keys():
|
|
||||||
# print l
|
|
||||||
# print str(i.buttons[l])
|
|
||||||
# print
|
|
||||||
|
|
||||||
# print correctEcu.vdiag
|
|
||||||
# print correctEcu.ncalib
|
|
||||||
# for k,v in correctEcu.buttons.iteritems():
|
|
||||||
# print k,v
|
|
||||||
|
|
||||||
#Prepare buttons
|
#Prepare buttons
|
||||||
buttons = OrderedDict()
|
buttons = OrderedDict()
|
||||||
|
|
||||||
@ -344,11 +331,10 @@ def run( elm, ecu, command, data ):
|
|||||||
identsList[params["IdentToBeDisplayed"].replace("Ident", "D")] = typesButtons[choice[0]]
|
identsList[params["IdentToBeDisplayed"].replace("Ident", "D")] = typesButtons[choice[0]]
|
||||||
|
|
||||||
for idKey in range(idRangeKey['begin'], idRangeKey['end'] + 1):
|
for idKey in range(idRangeKey['begin'], idRangeKey['end'] + 1):
|
||||||
# print str(idKey), identsList["D" + str(idKey)]
|
|
||||||
if identsList["D" + str(idKey)].startswith("ID"):
|
if identsList["D" + str(idKey)].startswith("ID"):
|
||||||
identsList["D" + str(idKey)] = ecu.get_id(identsList["D" + str(idKey)], 1)
|
identsList["D" + str(idKey)] = ecu.get_id(identsList["D" + str(idKey)], 1)
|
||||||
paramToSend += identsList["D" + str(idKey)]
|
paramToSend += identsList["D" + str(idKey)]
|
||||||
# print str(idKey), identsList["D" + str(idKey)]
|
|
||||||
clearScreen()
|
clearScreen()
|
||||||
|
|
||||||
print
|
print
|
||||||
@ -386,11 +372,10 @@ def run( elm, ecu, command, data ):
|
|||||||
identsList[k] = v
|
identsList[k] = v
|
||||||
|
|
||||||
for idKey in range(idRangeKey['begin'], idRangeKey['end'] + 1):
|
for idKey in range(idRangeKey['begin'], idRangeKey['end'] + 1):
|
||||||
# print str(idKey), identsList["D" + str(idKey)]
|
|
||||||
if identsList["D" + str(idKey)].startswith("ID"):
|
if identsList["D" + str(idKey)].startswith("ID"):
|
||||||
identsList["D" + str(idKey)] = ecu.get_id(identsList["D" + str(idKey)], 1)
|
identsList["D" + str(idKey)] = ecu.get_id(identsList["D" + str(idKey)], 1)
|
||||||
paramToSend += identsList["D" + str(idKey)]
|
paramToSend += identsList["D" + str(idKey)]
|
||||||
# print str(idKey), identsList["D" + str(idKey)]
|
|
||||||
clearScreen()
|
clearScreen()
|
||||||
|
|
||||||
print mainText
|
print mainText
|
||||||
|
Loading…
x
Reference in New Issue
Block a user