aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/test.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-06-02 19:45:18 +1200
committerAldo Cortesi <aldo@nullcube.com>2016-06-02 19:45:18 +1200
commit69de78515d7d19c72d27439df509cc9294da587f (patch)
tree19eb10d9bcf5b62a3999761eaf51701fb8a59f72 /pathod/test.py
parentc9dd574f48cb05ff762bccdeef2dc22c758de9ec (diff)
downloadmitmproxy-69de78515d7d19c72d27439df509cc9294da587f.tar.gz
mitmproxy-69de78515d7d19c72d27439df509cc9294da587f.tar.bz2
mitmproxy-69de78515d7d19c72d27439df509cc9294da587f.zip
Make last_log actually return last log
Diffstat (limited to 'pathod/test.py')
-rw-r--r--pathod/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/test.py b/pathod/test.py
index 28ade101..32b37731 100644
--- a/pathod/test.py
+++ b/pathod/test.py
@@ -58,7 +58,7 @@ class Daemon:
l = self.expect_log(1)
if not l:
return None
- return l[0]
+ return l[-1]
def log(self):
"""