mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-25 00:33:37 +05:00
fix: logical bug in handle_instance_names
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
@@ -119,7 +119,7 @@ def handle_instance_names(
|
||||
install_count: int, name_dict: Dict[int, str], custom_names: bool
|
||||
) -> None:
|
||||
for i in range(install_count): # 3
|
||||
key = max(name_dict.keys()) + 1
|
||||
key: int = len(name_dict.keys()) + 1
|
||||
if custom_names:
|
||||
assign_custom_name(key, name_dict)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user