refactor: handle ports as ints as they are coming as ints from the KiauhSettings

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
dw-0
2024-04-28 19:42:40 +02:00
parent 5225e70e83
commit 1a29324e6a
3 changed files with 14 additions and 15 deletions

View File

@@ -55,7 +55,7 @@ def print_client_already_installed_dialog(name: str):
print_back_footer()
def print_client_port_select_dialog(name: str, port: str, ports_in_use: List[str]):
def print_client_port_select_dialog(name: str, port: int, ports_in_use: List[int]):
port = f"{COLOR_CYAN}{port}{RESET_FORMAT}"
line1 = f"Please select the port, {name} should be served on."
line2 = f"In case you need {name} to be served on a specific"