From 240e41712cf17411b6084574869c2c2213686501 Mon Sep 17 00:00:00 2001 From: Fredrik Soderblom Date: Thu, 30 Apr 2020 15:46:30 +0200 Subject: [PATCH] add missing entry in dictionary section for the unmunch binary. --- pwgen/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pwgen/__init__.py b/pwgen/__init__.py index aa69726..2fc10ed 100644 --- a/pwgen/__init__.py +++ b/pwgen/__init__.py @@ -35,6 +35,7 @@ def update_config( lang='en_US', word_min_char=2, word_max_char=0, + unmunch_bin='/usr/bin/unmunch', 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')