Make last_log actually return last log

This commit is contained in:
Aldo Cortesi 2016-06-02 19:45:18 +12:00
parent c9dd574f48
commit 69de78515d
1 changed files with 1 additions and 1 deletions

View File

@ -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):
"""