Skip to content

Commit

Permalink
misplaced comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrobenolt committed Sep 29, 2014
1 parent 972b5c9 commit f9a95a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disqusapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ def _request(self, endpoint=None, **kwargs):
conn.request(method, path, data, headers)
response = conn.getresponse()

# Coerce response to Python
try:
body = response.read()
finally:
Expand All @@ -214,6 +213,7 @@ def _request(self, endpoint=None, **kwargs):
body = body.decode(encoding)

try:
# Coerce response to Python
data = formatter(body)
except formatter_error:
raise FormattingError(body)
Expand Down

0 comments on commit f9a95a9

Please sign in to comment.