[boobcoming] handle error correctly in do_attends
This commit is contained in:
parent
349e577967
commit
527a6d6b5c
1 changed files with 2 additions and 1 deletions
|
|
@ -364,7 +364,8 @@ class Boobcoming(ReplApplication):
|
||||||
|
|
||||||
l = self.retrieve_events(args[0])
|
l = self.retrieve_events(args[0])
|
||||||
for event in l:
|
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):
|
def do_unattends(self, line):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue