Merge pull request #182 from archonic/patch-1

Remove duplicate line
This commit is contained in:
Manuel83
2018-05-23 10:19:17 +02:00
committed by GitHub
-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()