journee_mondiale: do not crash if none was found

This commit is contained in:
dece 2021-11-23 14:14:30 +01:00
parent 3a756a7489
commit 5f4af12a2f

View file

@ -29,5 +29,6 @@ class JourneeMondialePlugin(Plugin):
except (ValueError, KeyError):
self.signal_failure(event.target)
return True
if jm:
self.bot.say(event.target, jm)
return True