From 7785d7cbf5da52976fba2bc8e0415b13adb2894e Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Tue, 18 Feb 2020 12:29:51 -0800 Subject: [PATCH] Fix lp cli commands --- amanuensis/cli/lexicon.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/amanuensis/cli/lexicon.py b/amanuensis/cli/lexicon.py index ba414dd..0a98597 100644 --- a/amanuensis/cli/lexicon.py +++ b/amanuensis/cli/lexicon.py @@ -140,11 +140,11 @@ def command_player_add(args): return -1 # Perform command - add_player(lex, u) + add_player(args.lexicon, args.user) # Output logger.info('Added user "{0.username}" to lexicon "{1.name}"'.format( - args.user, ags.lexicon)) + args.user, args.lexicon)) return 0 @@ -172,7 +172,7 @@ def command_player_remove(args): return -1 # Perform command - remove_player(lex, u) + remove_player(args.lexicon, args.user) # Output logger.info('Removed "{0.username}" from lexicon "{1.name}"'.format(