Skip to content

Commit

Permalink
Changed is to ==
Browse files Browse the repository at this point in the history
  • Loading branch information
da2x committed May 3, 2015
1 parent 4e0f6c5 commit c9c112e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/filters.py
Expand Up @@ -168,7 +168,7 @@ def _html_tidy_runner(infile, options):
try:
status = runinplace(r"tidy5 " + options, infile)
except subprocess.CalledProcessError as err:
status = 0 if err.returncode is 1 else err.returncode
status = 0 if err.returncode == 1 else err.returncode
return status


Expand Down

0 comments on commit c9c112e

Please sign in to comment.