[boobcoming] handle error correctly in do_attends

This commit is contained in:
Alexandre Morignot 2014-12-02 15:49:49 +01:00 committed by Romain Bignon
commit 527a6d6b5c

View file

@ -364,7 +364,8 @@ class Boobcoming(ReplApplication):
l = self.retrieve_events(args[0])
for event in l:
self.do('attends_event', event, True)
# we wait till the work be done, else the errors are not handled
self.do('attends_event', event, True).wait()
def do_unattends(self, line):
"""