bug fix: syntax error

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

View File

@ -81,7 +81,7 @@ def format_proc(value):
if xchar in value and len(value.split(xchar)) == 2 :
_value = {"type":value.split(':')[0].strip(),"code":value.split(':')[1].strip()}
break
else
else:
_value = str(value)
return _value