From 0557610cb1be8044309d2d907515dbef6f5a9cbb Mon Sep 17 00:00:00 2001 From: Roman Karwacik Date: Tue, 26 Nov 2024 12:58:15 +0100 Subject: [PATCH] fix wrong typing --- smbclientng/core/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smbclientng/core/utils.py b/smbclientng/core/utils.py index d03028b..45f3710 100644 --- a/smbclientng/core/utils.py +++ b/smbclientng/core/utils.py @@ -457,7 +457,7 @@ def resolve_remote_files(smbSession: SMBSession, arguments: list[str]) -> list[s return resolved_pathFromRoot_files -def is_port_open(target: str, port: int, timeout: float) -> Tuple[bool, Optional[str]]: +def is_port_open(target: str, port: int, timeout: float) -> tuple[bool, Optional[str]]: """ Check if a specific port on a target host is open.