From afd976344d839e21285d742e56ff2bf5e4c1ea6b Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Sat, 9 Jun 2018 16:30:18 +0200 Subject: [PATCH] fix the nonce/marker mode typo (I should use tests and enums!) Thanks Bernhard Esslinger. --- lc4.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lc4.py b/lc4.py index 7a634fe..10285c6 100755 --- a/lc4.py +++ b/lc4.py @@ -365,8 +365,8 @@ if __name__ == '__main__': # set marker mode marker_mode = 1 if size==6 else 2 - if args.nKaminsky: marker_mode = 1 - if args.nKratochvil: marker_mode = 2 + if args.mKaminsky: marker_mode = 1 + if args.mKratochvil: marker_mode = 2 # set key