Skip to content

Commit

Permalink
Merge pull request mitmproxy#3591 from mhils/misc
Browse files Browse the repository at this point in the history
fix addon deconstruction
  • Loading branch information
mhils committed Jul 18, 2019
2 parents 4bebd3a + 9f69540 commit 0b0b4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mitmproxy/addonmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def remove(self, addon):
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)
Expand Down

0 comments on commit 0b0b4cc

Please sign in to comment.