aboutsummaryrefslogtreecommitdiffstats
path: root/examples/flowbasic
diff options
context:
space:
mode:
Diffstat (limited to 'examples/flowbasic')
-rwxr-xr-xexamples/flowbasic3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/flowbasic b/examples/flowbasic
index 2b44be3f..9aeb83c5 100755
--- a/examples/flowbasic
+++ b/examples/flowbasic
@@ -12,6 +12,7 @@ import os
from libmproxy import flow, proxy
from libmproxy.proxy.server import ProxyServer
+
class MyMaster(flow.FlowMaster):
def run(self):
try:
@@ -34,7 +35,7 @@ class MyMaster(flow.FlowMaster):
config = proxy.ProxyConfig(
- ca_file = os.path.expanduser("~/.mitmproxy/mitmproxy-ca.pem")
+ ca_file=os.path.expanduser("~/.mitmproxy/mitmproxy-ca.pem")
)
state = flow.State()
server = ProxyServer(config, 8080)