From ac911b170d33655115ede804d135104ef469cbdf Mon Sep 17 00:00:00 2001 From: Ske Date: Sun, 10 Mar 2019 23:42:14 +0100 Subject: [PATCH] Fix Tupperbox importing broken by a d.py update\n\nAs for why this is necessary, see https://github.com/Rapptz/discord.py/issues/1973 --- src/pluralkit/bot/commands/import_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pluralkit/bot/commands/import_commands.py b/src/pluralkit/bot/commands/import_commands.py index c2f59b64..6481dadf 100644 --- a/src/pluralkit/bot/commands/import_commands.py +++ b/src/pluralkit/bot/commands/import_commands.py @@ -30,7 +30,7 @@ async def import_tupperbox(ctx: CommandContext): raise CommandError("Timed out. Try running `pk;import` again.") s = io.BytesIO() - await message.attachments[0].save(s) + await message.attachments[0].save(s, use_cached=False) data = json.load(s) system = await ctx.get_system()