1
0
Fork 0
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:
Jörn-Michael Miehe 2020-08-17 15:03:25 +02:00
parent 11dafb0db6
commit 322033ca92

View file

@ -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