mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-11-25 05: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
|
||||
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