fix no delimiter being used sometimes
authorDanilo Rezende <redacted>
Thu, 27 Feb 2025 11:04:40 +0000 (08:04 -0300)
committerDanilo Rezende <redacted>
Thu, 27 Feb 2025 12:27:35 +0000 (09:27 -0300)
commit86365da147f7c380e4230851a4fd0f5b2a3b8d42
tree2dc5d4c19b77e7fcff9cdfa8c796e7cd1c68c56b
parent1ce6da2ba9bfcacbb4caf93dba49b2673b3683da
fix no delimiter being used sometimes

The command `xkcdpass --random-delimiters --valid-delimiters=...` sometimes
would output words using the empty string as as delimiter. This commit makes
it so that when --valid-delimiters is passed, only the delimiters specified
are used, without adding an empty string in addition to those.

Closes #165.
xkcdpass/xkcd_password.py
git clone https://git.99rst.org/PROJECT