Commit d81f9449 authored by Claude Paroz's avatar Claude Paroz

Prevent crash in building docs

parent c9923b40
Pipeline #52248 passed with stage
in 3 minutes and 43 seconds
......@@ -374,7 +374,7 @@ class BuildTranslatedDocsView(PoFileActionBase):
'program': 'yelp-build', 'err': result.stderr.decode()
if not index_html.exists():
if not index_html.exists() and os.path.isfile(build_ref[0]):
# Create an index.html symlink to the base html doc if needed
doc = parse(build_ref[0])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment