1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-28 16:50:01 +02:00

Update archivebox/system.py

This commit is contained in:
Nick Sweeting
2020-07-24 14:33:06 -04:00
committed by GitHub
parent 9cb0be183b
commit fa17e20f8e

View File

@@ -57,7 +57,6 @@ def chmod_file(path: str, cwd: str='.', permissions: str=OUTPUT_PERMISSIONS) ->
os.chmod(root, int(OUTPUT_PERMISSIONS, base=8))
else:
for subpath in Path(path).glob('**/*'):
print("THE PATH TO MODIFY IS", subpath)
os.chmod(subpath, int(OUTPUT_PERMISSIONS, base=8))