f strings init
This commit is contained in:
parent
11dafb0db6
commit
322033ca92
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue