mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
Added doc string for remove_readonly
This commit is contained in:
parent
5d621b69a5
commit
3ef6ff9808
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user