From 46522580f4707d83d5a14907d2f6227c3916ba22 Mon Sep 17 00:00:00 2001 From: Cyril Novel Date: Mon, 12 Oct 2020 13:15:42 +0200 Subject: [PATCH] Fix typo --- src/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event.py b/src/event.py index 7472fa0..92f32e8 100644 --- a/src/event.py +++ b/src/event.py @@ -37,7 +37,7 @@ class Event: y, 's' if y > 1 else '' ) - return '{}{} décédé{} il y a {} ans{}'.format( + return '{}{} décédé{} il y a {} an{}'.format( self._p_a.formatted_name(), ' (a épousé {})'.format(self._p_b.formatted_name()) if self._p_b else '', '' if self._p_a.is_male() else 'e',