aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy')
-rw-r--r--libmproxy/console.py2
-rw-r--r--libmproxy/flow.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/libmproxy/console.py b/libmproxy/console.py
index 3503e2c0..46bd0078 100644
--- a/libmproxy/console.py
+++ b/libmproxy/console.py
@@ -715,8 +715,6 @@ class ConsoleState(flow.State):
f = flow.State.add_request(self, req)
if self.focus is None:
self.set_focus(0)
- else:
- self.set_focus(self.focus + 1)
return f
def add_response(self, resp):
diff --git a/libmproxy/flow.py b/libmproxy/flow.py
index 718a3dcd..eed006b4 100644
--- a/libmproxy/flow.py
+++ b/libmproxy/flow.py
@@ -343,7 +343,7 @@ class State:
Add a request to the state. Returns the matching flow.
"""
f = Flow(req)
- self.flow_list.insert(0, f)
+ self.flow_list.append(f)
self.flow_map[req] = f
return f