From 076ba111117d1919d37f4444c03c9540bc09871f Mon Sep 17 00:00:00 2001 From: Gavin D'souza Date: Mon, 5 Oct 2020 14:06:58 +0530 Subject: [PATCH] fix: Update documentation helper --- .github/helper/documentation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/helper/documentation.py b/.github/helper/documentation.py index b0a3a16c76..3fc14ba61b 100644 --- a/.github/helper/documentation.py +++ b/.github/helper/documentation.py @@ -4,7 +4,7 @@ from urllib.parse import urlparse docs_repos = [ - "frappe_docs" + "frappe_docs", "erpnext_documentation", "erpnext_com", "frappe_io", @@ -17,7 +17,7 @@ def uri_validator(x): def docs_link_exists(body): for line in body.splitlines(): - for word in line: + for word in line.split(): if word.startswith('http') and uri_validator(word): parsed_url = urlparse(word) if parsed_url.netloc == "github.com":