summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-12-31 21:57:27 +0200
committerLars Wirzenius <liw@liw.fi>2016-12-31 21:57:27 +0200
commit9d4e2bf3432907d305839e731a22c2f4796c651d (patch)
treee8f6d960236a006e3d55b2e390aa0a67e6e31fcb
parent25db6dd3bde3e4e67cf15ea9b223a05ffb0f3217 (diff)
downloadpy_pgpwordlist-9d4e2bf3432907d305839e731a22c2f4796c651d.tar.gz
Fix word list Python code generation
-rwxr-xr-xgen_word_list_code2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen_word_list_code b/gen_word_list_code
index 01c670a..594d396 100755
--- a/gen_word_list_code
+++ b/gen_word_list_code
@@ -26,6 +26,6 @@ pgp_word_list = {
for line in sys.stdin:
hex, even_word, odd_word = line.lower().split()
- sys.stdout.write(' "{}": ({}, {}),\n'.format(hex, even_word, odd_word))
+ sys.stdout.write(' "{}": ("{}", "{}"),\n'.format(hex, even_word, odd_word))
sys.stdout.write('}\n')