Update Git-MRI.py

This commit is contained in:
Willy 2025-05-31 16:57:43 +02:00
parent 7ec01a2f40
commit 4c36296b5b

View file

@ -8,7 +8,7 @@ from urllib.parse import urlparse
TEXT_EXTENSIONS = {'.md', '.markdown', '.txt', '.rst', '.adoc', '.html'}
IMAGE_EXTENSIONS = {'.png', '.jpg', '.jpeg', '.gif', '.webp', '.svg'}
LOG_FILENAME = "non_images.log"
LOG_FILENAME = "no_images.log"
def get_repo_name_from_url(repo_url):
return os.path.splitext(os.path.basename(urlparse(repo_url).path))[0]