Remove "]" in filename
This commit is contained in:
parent
3c274d2f9c
commit
a1e56b8116
@ -48,7 +48,7 @@ class Archive(commands.Cog):
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Save the attachment
|
# Save the attachment
|
||||||
with open(f"images/{filename}]", "wb") as file:
|
with open(f"images/{filename}", "wb") as file:
|
||||||
file.write(await response.read())
|
file.write(await response.read())
|
||||||
|
|
||||||
# Add the path to the attachments list
|
# Add the path to the attachments list
|
||||||
|
Loading…
x
Reference in New Issue
Block a user