Bläddra i källkod

Remove duplicate line

pull/194/head
Josh Johannes 7 år sedan
förälder
incheckning
e0c267832f
1 ändrade filer med 0 tillägg och 1 borttagningar
  1. +0
    -1
      modules/core/core.py

+ 0
- 1
modules/core/core.py Visa fil

@@ -39,7 +39,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()


Laddar…
Avbryt
Spara