Merge pull request #3591 from mhils/misc

fix addon deconstruction
This commit is contained in:
Maximilian Hils 2019-07-19 00:40:15 +02:00 committed by GitHub
commit 0b0b4ccba6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)