From 282864fa7ace905b9a702621cab8b2dbd90d7393 Mon Sep 17 00:00:00 2001 From: Random Guy JCI <22722393+RandomGuyJCI@users.noreply.github.com> Date: Sun, 6 Oct 2024 23:10:04 +0800 Subject: [PATCH] wups forgot the quotation marks --- orchard/scan/sources/discord.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchard/scan/sources/discord.py b/orchard/scan/sources/discord.py index f98d611..c7fabef 100644 --- a/orchard/scan/sources/discord.py +++ b/orchard/scan/sources/discord.py @@ -160,7 +160,7 @@ async def get_iids(self): # note: the channel id is not required because channels are immutable by source id. # note2: attachment id is required because it's possible to delete an attachment # w/o deleting the post. - iid = f"{post['id']}|{post["attachments"][i]['id']}" + iid = f"{post['id']}|{post['attachments'][i]['id']}" # cache of message objects for later use, if needed. self.iid_cache[iid] = post iids.append(iid)