mirror of
https://github.com/boltgolt/howdy.git
synced 2024-09-19 09:51:19 +02:00
Fixed string errors
This commit is contained in:
parent
55f3753260
commit
1384cc3f72
3 changed files with 3 additions and 2 deletions
|
@ -33,6 +33,7 @@ parser = argparse.ArgumentParser(
|
|||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||
add_help=False,
|
||||
prog="howdy",
|
||||
usage="howdy [-U USER] [--plain] [-h] [-y] {command} [{arguments}...]".format(command=_("command"), arguments=_("arguments")),
|
||||
epilog=_("For support please visit\nhttps://github.com/boltgolt/howdy"))
|
||||
|
||||
# Add an argument for the command
|
||||
|
|
|
@ -73,7 +73,7 @@ if len(encodings) > 3:
|
|||
|
||||
# Make clear what we are doing if not human
|
||||
if not builtins.howdy_args.plain:
|
||||
print(_("Adding face model for the user " + user))
|
||||
print(_("Adding face model for the user ") + user)
|
||||
|
||||
# Set the default label
|
||||
label = "Initial model"
|
||||
|
|
|
@ -34,7 +34,7 @@ enc_file = path + "/models/" + user + ".dat"
|
|||
try:
|
||||
encodings = json.load(open(enc_file))
|
||||
except FileNotFoundError:
|
||||
print(_("No face model known for the user " + user + ", please run:"))
|
||||
print(_("No face model known for the user {}, please run:").format(user))
|
||||
print("\n\thowdy add\n")
|
||||
sys.exit(1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue