Skip to content

Commit fa81103

Browse files
committed
change timeout to opts
1 parent 8efc2c7 commit fa81103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sendgrid/sendgrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def _make_request(self, message):
110110
# Using API key
111111
req.add_header('Authorization', 'Bearer ' + self.password)
112112

113-
response = urllib_request.urlopen(req, self.timeout)
113+
response = urllib_request.urlopen(req, timeout = self.timeout)
114114
body = response.read()
115115
return response.getcode(), body
116116

0 commit comments

Comments
 (0)