mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-09 18:52:40 +02:00
Remove duplicate line
This commit is contained in:
@@ -40,7 +40,6 @@ class ActorAPI(object):
|
|||||||
value = self.cache.get("actors").get(int(id))
|
value = self.cache.get("actors").get(int(id))
|
||||||
cfg = value.config.copy()
|
cfg = value.config.copy()
|
||||||
cfg.update(dict(api=self, id=id, name=value.name))
|
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")
|
clazz = self.cache.get("actor_types").get(value.type).get("class")
|
||||||
value.instance = clazz(**cfg)
|
value.instance = clazz(**cfg)
|
||||||
value.instance.init()
|
value.instance.init()
|
||||||
|
|||||||
Reference in New Issue
Block a user