Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion adabot/lib/circuitpython_library_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -975,9 +975,10 @@ def validate_readthedocs(self, repo):

# Return the results of the latest run
doc_build_results = json_response.get("results")
if doc_build_results is None:
if doc_build_results is None or not doc_build_results:
errors.append(ERROR_RTD_FAILED_TO_LOAD_BUILD_STATUS_RTD_UNEXPECTED_RETURN)
return errors

result = doc_build_results[0].get("success")
time.sleep(3)
if not result:
Expand Down
Loading