python: Whitespace fixes from autopep8.

Generated by autopep8.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-06-08 15:21:30 -07:00
parent 549fbeac72
commit 444fbbf964
2 changed files with 2 additions and 2 deletions

View File

@@ -629,7 +629,7 @@ class S3UploadBackend(ZulipUploadBackend):
# We use the avatar bucket, because it's world-readable.
bucket = get_bucket(session, settings.S3_AVATAR_BUCKET)
key = bucket.Object(os.path.join("exports", generate_random_token(32),
os.path.basename(tarball_path)))
os.path.basename(tarball_path)))
key.upload_file(tarball_path, Callback=percent_callback)