bug fix with tags

This commit is contained in:
Steve Nyemba 2020-02-03 20:34:02 -06:00
parent 5716543819
commit 3a91a2422b
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ def format_date(value) :
def format_time(value):
return ":".join([value[:2],value[2:] ])[:5]
def format_proc(value):
for xchar in [':','<']
for xchar in [':','<'] :
if xchar in value and len(value.split(xchar)) == 2
_value = {"type":value.split(':')[0].strip(),"code":value.split(':')[1].strip()}
break