9p fix#24

This commit is contained in:
shrlnm 2019-10-09 23:53:39 +03:00
parent 5b915ffa1e
commit ebcad26ad6
2 changed files with 5 additions and 2 deletions

View File

@ -497,7 +497,6 @@ def f_functions( dfg_dom, ff, of, pref, domname, path ):
of.remove( l )
cop = et.SubElement(dom_dtc_o, 'p')
et.SubElement(cop, 'a', href='#'+lid).text = title
print lid,';',title
dom_t.append(nel)
cop = et.SubElement(dom_o, 'p')

View File

@ -445,7 +445,11 @@ def getVIN( de, elm, getFirst = False ):
exit()
if len(l_vin)<2:
return next(iter(l_vin))
try:
ret = next(iter(l_vin))
except:
ret = ''
return ret
print "\nFound ",len(l_vin), " VINs\n"