Browse files

fix working dir bug

  • Loading branch information...
1 parent f3e6fc4 commit ff10b7f5547e2eab3e7d17b18b4fd0e0030d7969 @mhils committed Dec 9, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 honeyproxy.py
View
2 honeyproxy.py
@@ -47,6 +47,8 @@ def add_subfolder(name):
add_subfolder("netlib")
add_subfolder("mitmproxy")
+os.chdir(honeyproxy_dir) # normalize working directory to be HoneyProxy/
+
from libmproxy import proxy as mproxy, cmdline as mcmdline, dump
from libhproxy import proxy as hproxy, cmdline as hcmdline, version, content, api
from libhproxy.honey import HoneyProxy

0 comments on commit ff10b7f

Please sign in to comment.