None is a better generic null value than False
authorJustin Findlay <redacted>
Thu, 15 Sep 2016 18:27:11 +0000 (12:27 -0600)
committerJustin Findlay <redacted>
Thu, 15 Sep 2016 20:22:25 +0000 (14:22 -0600)
xkcdpass/xkcd_password.py

index 1a866c95cb49647a371e051c868ec95da41a54ca..cb8f79eb62738c68d46ed79a0c54222327422bac 100755 (executable)
@@ -203,7 +203,7 @@ def generate_xkcdpassword(wordlist,
     Generate an XKCD-style password from the words in wordlist.
     """
 
-    passwd = False
+    passwd = None
 
     # generate the worddict if we are looking for acrostics
     if acrostic:
git clone https://git.99rst.org/PROJECT