Remove duplicate line

This commit is contained in:
Josh
2018-04-05 08:53:19 -07:00
committed by GitHub
parent 5efa1df350
commit 0e6da89cfd
-1
View File
@@ -40,7 +40,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()