Optionally take the mitmproxy path for doc rendering from a env variable.

This commit is contained in:
Aldo Cortesi
2014-01-19 13:52:45 +13:00
parent bd684d4540
commit 64be9b1a8a

View File

@@ -5,7 +5,7 @@ import countershape.template
sys.path.insert(0, "..")
from libmproxy import filt, version
MITMPROXY_SRC = os.path.abspath("..")
MITMPROXY_SRC = os.environ.get("MITMPROXY_SRC", os.path.abspath(".."))
ns.VERSION = version.VERSION
if ns.options.website: