diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2024-03-13 16:46:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-13 16:46:44 +0000 |
commit | 1e68b56a623a0d7f98106482bfed223c22193050 (patch) | |
tree | 27eeaad00c340cfcc9c4abcf67ac2ff10472a09f /synapse/handlers/profile.py | |
parent | Raise poetry-core version cap to 1.9.0 (#16986) (diff) | |
download | synapse-1e68b56a623a0d7f98106482bfed223c22193050.tar.xz |
Bump black from 23.10.1 to 24.2.0 (#16936)
Diffstat (limited to 'synapse/handlers/profile.py')
-rw-r--r-- | synapse/handlers/profile.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/profile.py b/synapse/handlers/profile.py index 279d393a5a..e51e282a9f 100644 --- a/synapse/handlers/profile.py +++ b/synapse/handlers/profile.py @@ -320,9 +320,9 @@ class ProfileHandler: server_name = host if self._is_mine_server_name(server_name): - media_info: Optional[ - Union[LocalMedia, RemoteMedia] - ] = await self.store.get_local_media(media_id) + media_info: Optional[Union[LocalMedia, RemoteMedia]] = ( + await self.store.get_local_media(media_id) + ) else: media_info = await self.store.get_cached_remote_media(server_name, media_id) |