Add some forgotten selfs

This commit is contained in:
dadav
2019-09-30 23:28:42 +02:00
parent 29aaf84867
commit a15d06b569

View File

@ -37,11 +37,11 @@ class Voice:
'...']) '...'])
def on_free_channel(channel): def on_free_channel(self, channel):
return self._('Hey, channel {channel} is\nfree! Your AP will\nsay thanks.').format(channel=channel) return self._('Hey, channel {channel} is\nfree! Your AP will\nsay thanks.').format(channel=channel)
def on_bored(): def on_bored(self):
return random.choice([ \ return random.choice([ \
self._('I\'m bored ...'), self._('I\'m bored ...'),
self._('Let\'s go for a walk!')]) self._('Let\'s go for a walk!')])