fix: parse parent directory
Mirror to Codeberg / mirror-to-codeberg (push) Waiting to run

This commit is contained in:
aclist committed 2026-06-28 23:52:13 +09:00
1 parent 4c31cd7ecd
commit 4de5147899
4 files changed
+51 -40

No files matched your search

+1 -1
View File
@@ -29,9 +29,9 @@ def is_writeable(path_str: str) -> bool:
if not path.exists():
try:
path.mkdir(parents=True)
path.unlink()
except OSError:
return False
path.unlink()
return True
try: