Sfoglia il codice sorgente

Remove duplicate line

pull/182/head
Josh GitHub 7 anni fa
parent
commit
0e6da89cfd
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. +0
    -1
      modules/core/core.py

+ 0
- 1
modules/core/core.py Vedi 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()


Loading…
Annulla
Salva