Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
marekbrzoska committed Feb 20, 2013
1 parent ca5b95b commit 11b74cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saleor/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def process_response(self, _request, response):
if (
settings.DEBUG
and settings.WARN_ABOUT_INVALID_HTML5_OUTPUT
and 200 <= response.status.code < 300
and 200 <= response.status_code < 300
):
proc = Popen(["tidy"], stdout=PIPE, stderr=PIPE, stdin=PIPE)
_out, err = proc.communicate(response.content)
Expand Down

0 comments on commit 11b74cd

Please sign in to comment.