mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-27 08:30:24 -05:00
Run pyupgrade --py37-plus --keep-percent-format on Synapse (#11685)
* newsfragment * fix newsfragment number * update changelog * remove extra space
This commit is contained in:
parent
88a78c6577
commit
d8f94eeec2
3 changed files with 2 additions and 2 deletions
|
|
@ -466,7 +466,7 @@ class UserMediaRestServlet(RestServlet):
|
|||
)
|
||||
|
||||
deleted_media, total = await self.media_repository.delete_local_media_ids(
|
||||
([row["media_id"] for row in media])
|
||||
[row["media_id"] for row in media]
|
||||
)
|
||||
|
||||
return HTTPStatus.OK, {"deleted_media": deleted_media, "total": total}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue