diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-09-08 16:02:31 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-09-08 17:03:34 +0200 |
commit | ebd539b49f0706918e979dc921cf454ae448eaf9 (patch) | |
tree | 1c541027c735e18c7486d5d9ebda7367278ac244 /examples/flowbasic | |
parent | d06b4bfa4e4cc51e903b49e246d7771726a3e3a4 (diff) | |
download | mitmproxy-ebd539b49f0706918e979dc921cf454ae448eaf9.tar.gz mitmproxy-ebd539b49f0706918e979dc921cf454ae448eaf9.tar.bz2 mitmproxy-ebd539b49f0706918e979dc921cf454ae448eaf9.zip |
update examples, fix #353
Diffstat (limited to 'examples/flowbasic')
-rwxr-xr-x | examples/flowbasic | 3 |
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) |