Svetlana 3 年之前
父节点
当前提交
5d9cf58c42
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/cel.py

+ 1 - 0
app/cel.py

@@ -16,6 +16,7 @@ class CdrChannel:
        self.id,
        self.leg) = re.match(r'(\w+)/([_\w\.-]+)(?:@([\w-]+))?-([0-9a-f]{8})(?:;([0-9]+))?', chanData).groups()
     except:
+      self.id=None
       pass
   def __repr__(self):
     return self._str