Fixed Tupperware importing treating the message count as description
This commit is contained in:
parent
6b9bf95b0b
commit
d6c340b9c2
@ -562,6 +562,9 @@ async def import_tupperware(conn, message, args):
|
|||||||
bday = datetime.strptime(bday_str, "%a %b %d %Y")
|
bday = datetime.strptime(bday_str, "%a %b %d %Y")
|
||||||
if bday:
|
if bday:
|
||||||
member_birthdate = bday.date()
|
member_birthdate = bday.date()
|
||||||
|
elif line.startswith("Total messages sent: "):
|
||||||
|
# Ignore this, just so it doesn't catch as the description
|
||||||
|
pass
|
||||||
else:
|
else:
|
||||||
member_description = line
|
member_description = line
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user