part of S_IWRITE fix

This commit is contained in:
sTiKyt 2020-08-11 16:35:35 +03:00
parent 5da56b4f52
commit af071efd3c
No known key found for this signature in database
GPG Key ID: 510E1C3C9B2414B4

View File

@ -243,7 +243,7 @@ def remove_readonly(func, path, _):
path ([type]): [description]
_ ([type]): [description]
"""
chmod(path, stat.S_IWRITE)
chmod(path, mode=stat.S_IWRITE)
func(path)