imported chmod, mkdir and remove

This commit is contained in:
sTiKyt 2020-05-07 21:02:51 +03:00
parent 896be7e335
commit 7a901c208a
No known key found for this signature in database
GPG Key ID: 510E1C3C9B2414B4
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)