Fix tags getting caught in description when importing from Tupperware

This commit is contained in:
Ske 2018-07-14 22:56:11 +02:00
parent 46ca5f6ffb
commit 1624d35d1a

View File

@ -564,7 +564,7 @@ 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: "): elif line.startswith("Total messages sent: ") or line.startswith("Tag: "):
# Ignore this, just so it doesn't catch as the description # Ignore this, just so it doesn't catch as the description
pass pass
else: else: