fix DTC interpretation visibility, fix in db_manager
This commit is contained in:
parent
eb5a01597f
commit
c7ab0786ff
@ -180,7 +180,10 @@ def file_in_clip( pattern ):
|
||||
return pattern in glob.glob(pattern)
|
||||
else:
|
||||
file_list = mod_globals.clip_arc.namelist()
|
||||
return pattern in file_list
|
||||
for l in file_list:
|
||||
if pattern.lower() == l.lower():
|
||||
return l
|
||||
return ''
|
||||
|
||||
def extract_from_clip_to_cache( filename ):
|
||||
if mod_globals.clip_arc == '':
|
||||
|
4
pyren3/mod_ecu_default.py
Executable file → Normal file
4
pyren3/mod_ecu_default.py
Executable file → Normal file
@ -218,8 +218,8 @@ def get_default_std_b( df, mn, se, elm, calc, getDTCmnemo ):
|
||||
else:
|
||||
chr_val = '' # I'm no sure that it is right
|
||||
|
||||
if str(chr_val).encode("utf-8") in list(df[dtc].caracter.keys()):
|
||||
interpretation = df[dtc].caracter[str(chr_val).encode("utf-8")]
|
||||
if str(chr_val) in list(df[dtc].caracter.keys()):
|
||||
interpretation = df[dtc].caracter[str(chr_val)]
|
||||
else:
|
||||
interpretation = ''
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user