mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-29 11:03:13 +00:00
commit
0b0b4ccba6
@ -184,7 +184,7 @@ class AddonManager:
|
|||||||
raise exceptions.AddonManagerError("No such addon: %s" % n)
|
raise exceptions.AddonManagerError("No such addon: %s" % n)
|
||||||
self.chain = [i for i in self.chain if i is not a]
|
self.chain = [i for i in self.chain if i is not a]
|
||||||
del self.lookup[_get_name(a)]
|
del self.lookup[_get_name(a)]
|
||||||
self.invoke_addon(a, "done")
|
self.invoke_addon(addon, "done")
|
||||||
|
|
||||||
def __len__(self):
|
def __len__(self):
|
||||||
return len(self.chain)
|
return len(self.chain)
|
||||||
|
Loading…
Reference in New Issue
Block a user