From f39ce16a97f1092c389f1f20ea9eef4d9e2c2b67 Mon Sep 17 00:00:00 2001 From: Cody Wyatt Neiman Date: Sun, 30 Oct 2022 16:58:08 -0400 Subject: [PATCH] Fix set whitespace --- s3_storage_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3_storage_provider.py b/s3_storage_provider.py index 8b5a880..e5272b8 100644 --- a/s3_storage_provider.py +++ b/s3_storage_provider.py @@ -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