From 322033ca92a21db4130c213f1f95926c84f9de85 Mon Sep 17 00:00:00 2001 From: ldericher Date: Mon, 17 Aug 2020 15:03:25 +0200 Subject: [PATCH] f strings init --- src/kiwi/subcommands/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kiwi/subcommands/init.py b/src/kiwi/subcommands/init.py index e82240e..a8ecee6 100644 --- a/src/kiwi/subcommands/init.py +++ b/src/kiwi/subcommands/init.py @@ -14,7 +14,7 @@ def user_input(config, key, prompt): # prompt user as per argument try: - result = input("{} [{}] ".format(prompt, config[key])).strip() + result = input(f"{prompt} [{config[key]}] ").strip() except EOFError: print() result = None