agent, common, island: Move file util `expand_path` to `common/`

This commit is contained in:
Shreya 2021-07-06 19:38:10 +05:30
parent ded6ce0cd0
commit d0a94e6223
2 changed files with 0 additions and 4 deletions

View File

@ -20,10 +20,6 @@ if is_windows_os():
import monkey_island.cc.server_utils.windows_permissions as windows_permissions import monkey_island.cc.server_utils.windows_permissions as windows_permissions
def expand_path(path: str) -> str:
return os.path.expandvars(os.path.expanduser(path))
def create_secure_directory(path: str): def create_secure_directory(path: str):
if not os.path.isdir(path): if not os.path.isdir(path):
if is_windows_os(): if is_windows_os():