make eff-long default even iff cracklib installed, keep alternatives as fallbacks
authorSteven Tobin <steventtobin (at) gmail.com>
Wed, 1 Nov 2017 23:03:09 +0000 (23:03 +0000)
committerSteven Tobin <steventtobin (at) gmail.com>
Wed, 1 Nov 2017 23:03:09 +0000 (23:03 +0000)
xkcdpass/xkcd_password.py

index 91f4b0fd644665aa1790bff50afb0d0169d1faf2..54024b2b8befab331f3fc589563ecd287ebb9f5b 100755 (executable)
@@ -93,9 +93,9 @@ def locate_wordfile(wordfile=None):
         common_word_files.append(os.path.expanduser(wordfile))
 
     common_word_files.extend([
+        os.path.join(static_dir, DEFAULT_WORDFILE),
         "/usr/share/cracklib/cracklib-small",
         "/usr/share/dict/cracklib-small",
-        os.path.join(static_dir, DEFAULT_WORDFILE),
         "/usr/dict/words",
         "/usr/share/dict/words"])
 
git clone https://git.99rst.org/PROJECT