summaryrefslogtreecommitdiff
path: root/scripts/internal
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/internal')
-rwxr-xr-xscripts/internal/check_broken_links.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/internal/check_broken_links.py b/scripts/internal/check_broken_links.py
index d22192bc..8a507203 100755
--- a/scripts/internal/check_broken_links.py
+++ b/scripts/internal/check_broken_links.py
@@ -52,7 +52,9 @@ URL_REGEX = '(?:http|ftp|https)?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-
def get_urls(filename):
"""Extracts all URLs available in specified filename
"""
- fname = os.path.abspath(os.path.join(HERE, filename))
+ # fname = os.path.abspath(os.path.join(HERE, filename))
+ # expecting absolute path
+ fname = os.path.abspath(filename)
print (fname)
text = ''
with open(fname) as f: