fix addon deconstruction

This commit is contained in:
Maximilian Hils 2019-07-18 17:54:33 +02:00
parent 4bebd3a1bc
commit 9f69540d57
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ class AddonManager:
raise exceptions.AddonManagerError("No such addon: %s" % n)
self.chain = [i for i in self.chain if i is not a]
del self.lookup[_get_name(a)]
self.invoke_addon(a, "done")
self.invoke_addon(addon, "done")
def __len__(self):
return len(self.chain)