From a1e56b811663b3b0ab6831ed76b58b20d234fd42 Mon Sep 17 00:00:00 2001 From: Parker Date: Thu, 3 Apr 2025 12:56:49 -0500 Subject: [PATCH] Remove "]" in filename --- src/cogs/archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogs/archive.py b/src/cogs/archive.py index 196eef8..5e80709 100644 --- a/src/cogs/archive.py +++ b/src/cogs/archive.py @@ -48,7 +48,7 @@ class Archive(commands.Cog): ) # Save the attachment - with open(f"images/{filename}]", "wb") as file: + with open(f"images/{filename}", "wb") as file: file.write(await response.read()) # Add the path to the attachments list