cli: fix for Python 3.10 and 3.11

This commit is contained in:
Sina Atalay 2024-04-29 00:34:10 +03:00
parent dde2090ad0
commit a28c18bc6b
1 changed files with 2 additions and 1 deletions

View File

@ -699,7 +699,8 @@ def cli_command_new(
if len(created_files_and_folders) == 1: if len(created_files_and_folders) == 1:
information(f"The RenderCV input file has been created:\n{file_name}") information(f"The RenderCV input file has been created:\n{file_name}")
else: else:
created_files_and_folders_string = ",\n".join(created_files_and_folders)
information( information(
"The following RenderCV input file and folders have been" "The following RenderCV input file and folders have been"
f" created:\n{',\n'.join(created_files_and_folders)}" f" created:\n{created_files_and_folders_string}"
) )