From 3ef6ff98081c57626b06b3ef245538c166cffb6a Mon Sep 17 00:00:00 2001 From: sTiKyt Date: Tue, 9 Jun 2020 08:03:57 +0300 Subject: [PATCH] Added doc string for remove_readonly --- Defs/ActionManager/simple_informant.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Defs/ActionManager/simple_informant.py b/Defs/ActionManager/simple_informant.py index 6fec5de..ff80302 100644 --- a/Defs/ActionManager/simple_informant.py +++ b/Defs/ActionManager/simple_informant.py @@ -196,7 +196,13 @@ def port_selector(): # Requests port input from user return port_selector() def remove_readonly(func, path, _): - "Clear the readonly bit" + """Removes read-only state of file (IDK why it exists but it does already so...) + + Args: + func ([type]): [description] + path ([type]): [description] + _ ([type]): [description] + """ chmod(path, stat.S_IWRITE) func(path)