mirror of
https://github.com/matrix-org/synapse-s3-storage-provider.git
synced 2024-10-23 07:29:40 +00:00
Fix set whitespace
This commit is contained in:
parent
d08c2dcf22
commit
f39ce16a97
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ def s3_download_task(s3_client, bucket, key, eargs, deferred, parent_logcontext)
|
|||
resp = s3_client.get_object(Bucket=bucket, Key=key)
|
||||
|
||||
except botocore.exceptions.ClientError as e:
|
||||
if e.response["Error"]["Code"] in ("404","NoSuchKey",):
|
||||
if e.response["Error"]["Code"] in ("404", "NoSuchKey",):
|
||||
logger.info("Media %s not found in S3", key)
|
||||
reactor.callFromThread(deferred.callback, None)
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue