Merge PR#2 - add missing entry in dictionary section for the unmunch

binary
This commit is contained in:
Fredrik Eriksson 2020-04-30 17:05:25 +02:00
commit b34c41281a
Signed by: feffe
GPG Key ID: 18524638BE25530A

View File

@ -35,6 +35,7 @@ def update_config(
lang='en_US',
word_min_char=2,
word_max_char=0,
unmunch_bin='',
words=4,
capitalize='random',
@ -63,6 +64,7 @@ def update_config(
set_if_defined(conf, 'dictionary', 'lang', lang)
set_if_defined(conf, 'dictionary', 'word_min_char', word_min_char)
set_if_defined(conf, 'dictionary', 'word_max_char', word_max_char)
set_if_defined(conf, 'dictionary', 'unmunch_bin', unmunch_bin)
if not conf.has_section('passwords'):
conf.add_section('passwords')