bug fix with tags
This commit is contained in:
parent
5716543819
commit
3a91a2422b
|
@ -77,7 +77,7 @@ def format_date(value) :
|
||||||
def format_time(value):
|
def format_time(value):
|
||||||
return ":".join([value[:2],value[2:] ])[:5]
|
return ":".join([value[:2],value[2:] ])[:5]
|
||||||
def format_proc(value):
|
def format_proc(value):
|
||||||
for xchar in [':','<']
|
for xchar in [':','<'] :
|
||||||
if xchar in value and len(value.split(xchar)) == 2
|
if xchar in value and len(value.split(xchar)) == 2
|
||||||
_value = {"type":value.split(':')[0].strip(),"code":value.split(':')[1].strip()}
|
_value = {"type":value.split(':')[0].strip(),"code":value.split(':')[1].strip()}
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue