mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 01:55:41 -04:00
remove extra logs
This commit is contained in:
@@ -13,10 +13,8 @@ LETTER_TEMP_LOGO_LOCATION = 'letters/static/images/letter-template/temp-{user_id
|
||||
|
||||
def get_s3_object(bucket_name, filename):
|
||||
s3 = resource('s3')
|
||||
current_app.logger.info('Requesting s3 object from bucket: {} with key: {}'.format(bucket_name, filename))
|
||||
obj = s3.Object(bucket_name, filename)
|
||||
string_body = obj.get()['Body'].read().decode('utf-8')
|
||||
current_app.logger.info('s3 Object string body is: {}'.format(string_body))
|
||||
string_body = obj.get()['Body'].read().decode('utf-8')
|
||||
return obj
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user