Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
1 addition
and
1 deletion.
-
+1
−1
nikola/filters.py
|
@@ -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 |
|
|
|
|
|
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.