diff --git a/Defs/ActionManager/simple_informant.py b/Defs/ActionManager/simple_informant.py index e0a5c1a..6136a5e 100644 --- a/Defs/ActionManager/simple_informant.py +++ b/Defs/ActionManager/simple_informant.py @@ -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)