瀏覽代碼

Very basic CDR aggregation draft fix2

Hal De 4 年之前
父節點
當前提交
b0ea00c008
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/app.py

+ 1 - 1
app/app.py

@@ -850,7 +850,7 @@ class Calls(Resource):
         call['type'] = 'in'
         if 'did' in _call0:
           call['line'] = _call0['did']
-      if len(_call['events'] > 1):
+      if len(_call['events']) > 1:
         for step in _call['events'][1:]:
           pass
       calls.append(call)