diff --git a/bin/lib/objects/abstract_chat_object.py b/bin/lib/objects/abstract_chat_object.py index 8613f86e..cf7f88fa 100755 --- a/bin/lib/objects/abstract_chat_object.py +++ b/bin/lib/objects/abstract_chat_object.py @@ -262,6 +262,7 @@ class AbstractChatObject(AbstractSubtypeObject, ABC): if date not in nb_year: nb_year[date] = 0 nb_year[date] += 1 + nb_max = max(nb_max, nb_year[date]) return nb_max, nb_year