Make last_log actually return last log
This commit is contained in:
parent
c9dd574f48
commit
69de78515d
|
@ -58,7 +58,7 @@ class Daemon:
|
||||||
l = self.expect_log(1)
|
l = self.expect_log(1)
|
||||||
if not l:
|
if not l:
|
||||||
return None
|
return None
|
||||||
return l[0]
|
return l[-1]
|
||||||
|
|
||||||
def log(self):
|
def log(self):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue