diff options
author | Mathieu Velten <mathieuv@matrix.org> | 2022-11-22 17:15:02 +0100 |
---|---|---|
committer | Mathieu Velten <mathieuv@matrix.org> | 2022-11-22 18:09:13 +0100 |
commit | b0603dabc9e188596c244ef85c0d6dc98ce495e2 (patch) | |
tree | 635fc94c8cfc5558908543e0b8fb450313002f6b /synapse/rest | |
parent | Add type ignore unused-awaitable to run_as_background_process calls (diff) | |
download | synapse-b0603dabc9e188596c244ef85c0d6dc98ce495e2.tar.xz |
Add type ignore unused-awaitable to run_in_background calls
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/media/v1/storage_provider.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/media/v1/storage_provider.py b/synapse/rest/media/v1/storage_provider.py index 1c9b71d69c..4cbec73884 100644 --- a/synapse/rest/media/v1/storage_provider.py +++ b/synapse/rest/media/v1/storage_provider.py @@ -112,7 +112,7 @@ class StorageProviderWrapper(StorageProvider): except Exception: logger.exception("Error storing file") - run_in_background(store) + run_in_background(store) # type: ignore[unused-awaitable] async def fetch(self, path: str, file_info: FileInfo) -> Optional[Responder]: if file_info.url_cache: |