Skip to main content

this should be an elif

ID
ce8bc12
date
2023-04-30 21:06:16+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
120f2f0
message
this should be an elif
changed files
1 file, 1 addition, 1 deletion

Changed files

aws/_common.py (1924) → aws/_common.py (1926)

diff --git a/aws/_common.py b/aws/_common.py
index 95e9424..066099e 100755
--- a/aws/_common.py
+++ b/aws/_common.py
@@ -42,7 +42,7 @@ def guess_account(s3_identifier):
     """
     if "wellcomedigitalworkflow" in s3_identifier:
         account_id = "299497370133"
-    if "wellcomecollection-storage" in s3_identifier:
+    elif "wellcomecollection-storage" in s3_identifier:
         account_id = "975596993436"
     else:
         return None