Skip to content

Commit

Permalink
fix wrong typing
Browse files Browse the repository at this point in the history
  • Loading branch information
rtpt-romankarwacik committed Nov 26, 2024
1 parent 76e5638 commit 0557610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smbclientng/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0557610

Please sign in to comment.