From af071efd3c2dbc9c40617a9a1ba541f849ff9fc6 Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Tue, 11 Aug 2020 16:35:35 +0300 Subject: [PATCH] part of S_IWRITE fix --- Defs/ActionManager/simple_informant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)