fix: logical bug in handle_instance_names
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
1 parent
f00d41b1bf
commit
0d7a471a03
1 file changed
+1
-1
@@ -119,7 +119,7 @@ def handle_instance_names(
|
|||||||
install_count: int, name_dict: Dict[int, str], custom_names: bool
|
install_count: int, name_dict: Dict[int, str], custom_names: bool
|
||||||
) -> None:
|
) -> None:
|
||||||
for i in range(install_count): # 3
|
for i in range(install_count): # 3
|
||||||
key = max(name_dict.keys()) + 1
|
key: int = len(name_dict.keys()) + 1
|
||||||
if custom_names:
|
if custom_names:
|
||||||
assign_custom_name(key, name_dict)
|
assign_custom_name(key, name_dict)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in new issue
Block a user