mirror of
https://github.com/aclist/dztui.git
synced 2026-11-21 17:09:30 +01:00
This commit is contained in:
1 parent
4c31cd7ecd
commit
4de5147899
4 files changed
+51
-40
No files matched your search
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user