mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
zerver/lib: Remove u prefix from strings.
License: Apache-2.0 Signed-off-by: rht <rhtbot@protonmail.com>
This commit is contained in:
@@ -1380,7 +1380,7 @@ def import_uploads_s3(bucket_name, import_dir, processing_avatars=False):
|
||||
key.set_metadata("realm_id", str(user_profile.realm_id))
|
||||
key.set_metadata("orig_last_modified", record['last_modified'])
|
||||
|
||||
headers = {u'Content-Type': record['content_type']}
|
||||
headers = {'Content-Type': record['content_type']}
|
||||
|
||||
key.set_contents_from_filename(os.path.join(import_dir, record['path']), headers=headers)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user