mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-24 04:14:57 +08:00
Make last_log actually return last log
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user