mirror of https://github.com/CIRCL/AIL-framework
fix: [chat messages by year] fix subchannel nb_max
parent
9e8ff182e7
commit
b4491270b9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue