mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
imported chmod, mkdir and remove
This commit is contained in:
parent
896be7e335
commit
7a901c208a
|
@ -1,4 +1,4 @@
|
||||||
from Defs.ImportManager.unsorted_will_be_replaced import run_command, webpage_set, wait, path, rmtree, pathlib_Path, copyfile
|
from Defs.ImportManager.unsorted_will_be_replaced import run_command, webpage_set, wait, path, rmtree, pathlib_Path, copyfile, chmod, mkdir, remove
|
||||||
import Defs.ThemeManager.theme as theme
|
import Defs.ThemeManager.theme as theme
|
||||||
import Defs.ActionManager.simple_informant as simple_informant
|
import Defs.ActionManager.simple_informant as simple_informant
|
||||||
|
|
||||||
|
|
|
@ -107,4 +107,4 @@ def port_selector(): # Question where user must select port
|
||||||
def remove_readonly(func, path, _):
|
def remove_readonly(func, path, _):
|
||||||
"Clear the readonly bit and reattempt the removal"
|
"Clear the readonly bit and reattempt the removal"
|
||||||
chmod(path, stat.S_IWRITE)
|
chmod(path, stat.S_IWRITE)
|
||||||
func(path)
|
func(path)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user