Skip to content

Commit

Permalink
Merge pull request #25 from l-nd-n/change_readall_to_read
Browse files Browse the repository at this point in the history
change readall to read
  • Loading branch information
lamby committed Dec 24, 2015
2 parents eb63ffb + 510f49a commit b96f5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_slack/backends.py
Expand Up @@ -11,7 +11,7 @@ def send(self, url, data):
urllib.parse.urlencode(data).encode('utf-8'),
))

result = r.readall().decode('utf-8')
result = r.read().decode('utf-8')

self.validate(r.headers['content-type'], result)

Expand Down

0 comments on commit b96f5c8

Please sign in to comment.