Skip to content

Commit

Permalink
change timeout to opts
Browse files Browse the repository at this point in the history
  • Loading branch information
tgehrs committed Jan 12, 2016
1 parent 8efc2c7 commit fa81103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sendgrid/sendgrid.py
Expand Up @@ -110,7 +110,7 @@ def _make_request(self, message):
# Using API key
req.add_header('Authorization', 'Bearer ' + self.password)

response = urllib_request.urlopen(req, self.timeout)
response = urllib_request.urlopen(req, timeout = self.timeout)
body = response.read()
return response.getcode(), body

Expand Down

0 comments on commit fa81103

Please sign in to comment.