aboutsummaryrefslogtreecommitdiffstats
path: root/examples/stickycookies
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stickycookies')
-rwxr-xr-xexamples/stickycookies6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/stickycookies b/examples/stickycookies
index 43e5371d..a0ee90ff 100755
--- a/examples/stickycookies
+++ b/examples/stickycookies
@@ -10,14 +10,14 @@ from mitmproxy import controller, proxy
from mitmproxy.proxy.server import ProxyServer
-class StickyMaster(controller.Master):
+class StickyMaster(master.Master):
def __init__(self, server):
- controller.Master.__init__(self, server)
+ master.Master.__init__(self, server)
self.stickyhosts = {}
def run(self):
try:
- return controller.Master.run(self)
+ return master.Master.run(self)
except KeyboardInterrupt:
self.shutdown()