9q fix#11 doc_maker
This commit is contained in:
parent
69e03a448e
commit
f94f17cd73
@ -188,7 +188,7 @@ def convertXML(root, h_t, fns, ff, lid):
|
||||
#debug
|
||||
#xfile = e.attrib['id']
|
||||
|
||||
elif e.tag == 'title':
|
||||
elif e.tag == 'title' and e.text:
|
||||
if fns[4]!='000000':
|
||||
title = 'DTC'+fns[4]+' '+e.text
|
||||
fns[4] = '000000'
|
||||
|
@ -156,6 +156,7 @@ class ScanEcus:
|
||||
canL = '12'
|
||||
|
||||
self.elm.init_can()
|
||||
print self.allecus
|
||||
for ecu, row in sorted(self.allecus.iteritems(),key = lambda (x,y) :y['idf']+y['protocol']):
|
||||
if (self.allecus[ecu]['pin']=='can' and
|
||||
self.allecus[ecu]['pin1']==canH and
|
||||
|
Loading…
x
Reference in New Issue
Block a user