1
0
Fork 0
mirror of synced 2024-06-15 17:04:36 +12: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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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))