Explorar o código

bug fix: syntax error

Steve Nyemba %!s(int64=5) %!d(string=hai) anos
pai
achega
8d2c1e6a43
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      edi/parser.py

+ 1 - 1
edi/parser.py

@@ -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