bug fix: syntax error

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

View File

@ -78,7 +78,7 @@ def format_time(value):
return ":".join([value[:2],value[2:] ])[:5]
def format_proc(value):
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()}
break
else