mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-11-22 12:53:00 +00:00
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
|
# prompt user as per argument
|
||||||
try:
|
try:
|
||||||
result = input("{} [{}] ".format(prompt, config[key])).strip()
|
result = input(f"{prompt} [{config[key]}] ").strip()
|
||||||
except EOFError:
|
except EOFError:
|
||||||
print()
|
print()
|
||||||
result = None
|
result = None
|
||||||
|
|
Loading…
Reference in a new issue