Fixed Tupperware importing treating the message count as description

This commit is contained in:
Ske 2018-07-14 20:03:16 +02:00
parent 6b9bf95b0b
commit d6c340b9c2

View File

@ -562,6 +562,9 @@ async def import_tupperware(conn, message, args):
bday = datetime.strptime(bday_str, "%a %b %d %Y")
if bday:
member_birthdate = bday.date()
elif line.startswith("Total messages sent: "):
# Ignore this, just so it doesn't catch as the description
pass
else:
member_description = line