From d6c340b9c24ef557b4db4b07eeaa2dcd31af8b74 Mon Sep 17 00:00:00 2001 From: Ske Date: Sat, 14 Jul 2018 20:03:16 +0200 Subject: [PATCH] Fixed Tupperware importing treating the message count as description --- bot/pluralkit/commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bot/pluralkit/commands.py b/bot/pluralkit/commands.py index 4678362f..9003975b 100644 --- a/bot/pluralkit/commands.py +++ b/bot/pluralkit/commands.py @@ -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