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:
7a84136
)
PEP8 fixes in examples
author
Steven Tobin
<redacted>
Wed, 20 Jul 2016 12:02:50 +0000
(13:02 +0100)
committer
Steven Tobin
<redacted>
Wed, 20 Jul 2016 12:02:50 +0000
(13:02 +0100)
examples/example_json.py
patch
|
blob
|
history
diff --git
a/examples/example_json.py
b/examples/example_json.py
index bd24f2a5d06720be9cf023c5f89880cad6950020..d886e6c09726f2479fb1ae177a15da983f21697c 100644
(file)
--- a/
examples/example_json.py
+++ b/
examples/example_json.py
@@
-12,7
+12,10
@@
def json_password_generator(request):
titlecase = request.GET.get("tc", None)
wordfile = xp.locate_wordfile()
- words = xp.generate_wordlist(wordfile=wordfile, min_length=3, max_length=8)
+ words = xp.generate_wordlist(
+ wordfile=wordfile,
+ min_length=3,
+ max_length=8)
suggestion = xp.generate_xkcdpassword(words, acrostic=acrostic)
if titlecase:
git clone https://git.99rst.org/PROJECT