瀏覽代碼

Remove duplicate line

pull/194/head
Josh Johannes 7 年之前
父節點
當前提交
e0c267832f
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. +0
    -1
      modules/core/core.py

+ 0
- 1
modules/core/core.py 查看文件

@@ -39,7 +39,6 @@ class ActorAPI(object):
value = self.cache.get("actors").get(int(id))
cfg = value.config.copy()
cfg.update(dict(api=self, id=id, name=value.name))
cfg.update(dict(api=self, id=id, name=value.name))
clazz = self.cache.get("actor_types").get(value.type).get("class")
value.instance = clazz(**cfg)
value.instance.init()


Loading…
取消
儲存