diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-12-31 21:57:27 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-12-31 21:57:27 +0200 |
commit | 9d4e2bf3432907d305839e731a22c2f4796c651d (patch) | |
tree | e8f6d960236a006e3d55b2e390aa0a67e6e31fcb /gen_word_list_code | |
parent | 25db6dd3bde3e4e67cf15ea9b223a05ffb0f3217 (diff) | |
download | py_pgpwordlist-9d4e2bf3432907d305839e731a22c2f4796c651d.tar.gz |
Fix word list Python code generation
Diffstat (limited to 'gen_word_list_code')
-rwxr-xr-x | gen_word_list_code | 2 |
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') |