misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
Simone Margaritelli
2019-10-30 14:25:21 +01:00
parent cb09648ba1
commit 9d19fb8e7a
4 changed files with 22 additions and 2 deletions

View File

@ -233,6 +233,11 @@ class View(object):
self.set('status', self._voice.on_free_channel(channel))
self.update()
def on_reading_logs(self, lines_so_far=0):
self.set('face', faces.SMART)
self.set('status', self._voice.on_reading_logs(lines_so_far))
self.update()
def wait(self, secs, sleeping=True):
was_normal = self.is_normal()
part = secs / 10.0