mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[V3 Utils] fix files not being chmodded (#1578)
This commit is contained in:
parent
95ef5d6348
commit
ee7b0cf730
@ -22,4 +22,6 @@ def safe_delete(pth: Path):
|
||||
os.chmod(root, 0o755)
|
||||
for d in dirs:
|
||||
os.chmod(os.path.join(root, d), 0o755)
|
||||
for f in files:
|
||||
os.chmod(os.path.join(root, f), 0o755)
|
||||
shutil.rmtree(str(pth), ignore_errors=True)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user