git.99rst.org
/
redacted-XKCD-password-generator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
0d0d5d7
)
Use locate_wordfile if no wordfile given.
author
Chris Cogdon
<redacted>
Thu, 1 Sep 2016 17:25:42 +0000
(10:25 -0700)
committer
Chris Cogdon
<redacted>
Thu, 1 Sep 2016 17:25:42 +0000
(10:25 -0700)
xkcdpass/xkcd_password.py
patch
|
blob
|
history
diff --git
a/xkcdpass/xkcd_password.py
b/xkcdpass/xkcd_password.py
index 526ec2240839b994eb791ca041017dc6f08a8831..32efa1ce43249d96a41d62a1db38e8d4ba9d9da8 100755
(executable)
--- a/
xkcdpass/xkcd_password.py
+++ b/
xkcdpass/xkcd_password.py
@@
-104,6
+104,9
@@
def generate_wordlist(wordfile=None,
Generate a word list from either a kwarg wordfile, or a system default
valid_chars is a regular expression match condition (default - all chars)
"""
+
+ if wordfile is None:
+ wordfile = locate_wordfile()
words = []
git clone https://git.99rst.org/PROJECT