diff options
Diffstat (limited to 'scripts/internal')
| -rwxr-xr-x | scripts/internal/check_broken_links.py | 4 |
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: |
