Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

tail-ses: Set AWS region based on S3_REGION value.

Alex Vandiver98711b0e45e4
diff --git a/tools/tail-ses b/tools/tail-ses
index bd62d466bcb..b871e1b6178 100755
--- a/tools/tail-ses
+++ b/tools/tail-ses
@@ -29,7 +29,7 @@ class IdentityArgsDict(TypedDict, total=False):
def main() -> None:
- session = boto3.session.Session()
+ session = boto3.session.Session(region_name=settings.S3_REGION)
from_address = settings.NOREPLY_EMAIL_ADDRESS
from_host = Address(addr_spec=from_address).domain