diff --git a/monkey/infection_monkey/utils/file_utils.py b/monkey/common/utils/file_utils.py similarity index 100% rename from monkey/infection_monkey/utils/file_utils.py rename to monkey/common/utils/file_utils.py diff --git a/monkey/monkey_island/cc/server_utils/file_utils.py b/monkey/monkey_island/cc/server_utils/file_utils.py index e429eb464..9013cd5f8 100644 --- a/monkey/monkey_island/cc/server_utils/file_utils.py +++ b/monkey/monkey_island/cc/server_utils/file_utils.py @@ -20,10 +20,6 @@ if is_windows_os(): 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): if not os.path.isdir(path): if is_windows_os():