Merge pull request 'dirs.py: remove outdated comment' (#676) from DavHau-main into main
All checks were successful
checks / test (push) Successful in 28s
checks-impure / test (push) Successful in 1m0s

This commit is contained in:
clan-bot 2024-01-02 07:29:05 +00:00
commit d6fe6b1d69

View File

@ -49,7 +49,6 @@ def specific_groot_dir(*, clan_name: str, flake_url: str) -> Path:
# burl = base64.urlsafe_b64encode(flake_url.encode()).decode()
burl = copy.copy(flake_url).replace("/", "_").replace(":", "_")
burl = urllib.parse.quote_plus(burl)
# Create the directory if it already exists append a number to it till it doesn't exist and then create it
clan_gcroot = gcroot_dir / f"{clan_name}-{burl}"
clan_gcroot.mkdir(parents=True, exist_ok=True)