From 1624d35d1a3f11175e49b184d3b0c80c2a030785 Mon Sep 17 00:00:00 2001 From: Ske Date: Sat, 14 Jul 2018 22:56:11 +0200 Subject: [PATCH] Fix tags getting caught in description when importing from Tupperware --- bot/pluralkit/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/pluralkit/commands.py b/bot/pluralkit/commands.py index d2689e6d..e7591b78 100644 --- a/bot/pluralkit/commands.py +++ b/bot/pluralkit/commands.py @@ -564,7 +564,7 @@ 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: "): + elif line.startswith("Total messages sent: ") or line.startswith("Tag: "): # Ignore this, just so it doesn't catch as the description pass else: