Seems legit now

This commit is contained in:
2024-03-19 22:23:13 +01:00
parent e0fa508be0
commit 59759bd6f4
5 changed files with 15 additions and 17 deletions

View File

@@ -158,7 +158,7 @@ async def cmd_import(app: PyroClient, message: Message):
uploaded = await photo_upload(
app.config["posting"]["api"]["album"],
client=client,
multipart_data=BodyPhotoUpload(
body=BodyPhotoUpload(
File(photo_bytes, Path(filename).name, "image/jpeg")
),
ignore_duplicates=app.config["submission"]["allow_duplicates"],