bug fix: syntax error
This commit is contained in:
parent
8d2c1e6a43
commit
edde93dc40
|
@ -81,7 +81,7 @@ def format_proc(value):
|
||||||
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
|
||||||
else
|
else:
|
||||||
_value = str(value)
|
_value = str(value)
|
||||||
|
|
||||||
return _value
|
return _value
|
||||||
|
|
Loading…
Reference in New Issue