Fix tags getting caught in description when importing from Tupperware
This commit is contained in:
parent
46ca5f6ffb
commit
1624d35d1a
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user