ulif / diceware

Passphrases to remember
GNU General Public License v3.0
357 stars 45 forks source link

use function to get wordlists dir #38

Closed drebs closed 7 years ago

drebs commented 7 years ago

The path to wordlist files is hardcoded in the generated sphinx documentation and because it may differ depending on how the package is installed this creates different problems:

This commit replaces the variable WORDLISTS_DIR by a function called get_wordlists_dir() that delays the construction of the path instead of doing it during module loading.