diff --git a/diceware/diceware.py b/diceware/diceware.py index 66e4ed2de016b436882d3d0d5a5ce7fad8f0b1be..16f901a262ab824b577ba06c4eaa540724075048 100644 --- a/diceware/diceware.py +++ b/diceware/diceware.py @@ -30,14 +30,9 @@ def handle_options(args): def get_wordlist(path): """Parse file at `path` and build a word list of it. - A wordlist is expected to contain lines of format:: - - <NUMS><TAB><WORD>\n - - for instance:: - - 136512\tTerm - + A wordlist is expected to contain lines of words. Each line a + word. Empty lines are ignored. Returns a list of terms (lines) + found. """ result = [] with open(path, 'r') as fd: