Fix lp cli commands

This commit is contained in:
Tim Van Baak 2020-02-18 12:29:51 -08:00
parent c0c69805e3
commit 7785d7cbf5
1 changed files with 3 additions and 3 deletions

View File

@ -140,11 +140,11 @@ def command_player_add(args):
return -1 return -1
# Perform command # Perform command
add_player(lex, u) add_player(args.lexicon, args.user)
# Output # Output
logger.info('Added user "{0.username}" to lexicon "{1.name}"'.format( logger.info('Added user "{0.username}" to lexicon "{1.name}"'.format(
args.user, ags.lexicon)) args.user, args.lexicon))
return 0 return 0
@ -172,7 +172,7 @@ def command_player_remove(args):
return -1 return -1
# Perform command # Perform command
remove_player(lex, u) remove_player(args.lexicon, args.user)
# Output # Output
logger.info('Removed "{0.username}" from lexicon "{1.name}"'.format( logger.info('Removed "{0.username}" from lexicon "{1.name}"'.format(