We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34a7ed1 commit e4f3908Copy full SHA for e4f3908
check_urls.py
@@ -38,7 +38,7 @@ def extract_urls(discover_path):
38
max_strlen = -1
39
for root, dirs, files in os.walk(discover_path, topdown=True):
40
dirs[:] = [d for d in dirs if d not in exclude]
41
- short_root = root.lstrip(discover_path)
+ short_root = root.replace(discover_path, '')
42
for file in files:
43
output = f'Currently checking: file={file}'
44
file_path = os.path.join(root, file)
0 commit comments