Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit 18f69e4

Browse files
committed
added .read() to urllib.request.urlopen
1 parent ed10b42 commit 18f69e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awslambda/publish_celery_metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ def lambda_handler(event, context):
1818
headers={'content-type': 'application/json'},
1919
)
2020
response = urllib.request.urlopen(req)
21-
return response
21+
return response.read()

0 commit comments

Comments
 (0)