aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/flow_export.py
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/flow_export.py')
-rw-r--r--mitmproxy/flow_export.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mitmproxy/flow_export.py b/mitmproxy/flow_export.py
index e2d46d93..e2ba7161 100644
--- a/mitmproxy/flow_export.py
+++ b/mitmproxy/flow_export.py
@@ -161,6 +161,7 @@ def locust_code(flow):
code = code.replace(host, "' + self.locust.host + '")
code = code.replace(quote_plus(host), "' + quote_plus(self.locust.host) + '")
code = code.replace(quote(host), "' + quote(self.locust.host) + '")
+ code = code.replace("'' + ", "")
return code