Skip to content

Commit

Permalink
Remove short circuit
Browse files Browse the repository at this point in the history
  • Loading branch information
jamespfennell committed Nov 26, 2019
1 parent 526ec96 commit ce8ae7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transiter/http/endpoints/docsendpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
@docs_endpoints.route("/<path:path>", strict_slashes=True)
@link_target(links.InternalDocumentationLink)
def docs(path="index.html", retry_with_index_dot_html=True, perform_validation=True):
if True or not config.DOCUMENTATION_ENABLED:
if not config.DOCUMENTATION_ENABLED:
return _documentation_not_found()
if perform_validation and not _documentation_root_is_valid():
logger.error(
Expand Down

0 comments on commit ce8ae7b

Please sign in to comment.