Index: branches/wmf/1.16wmf4/extensions/ConfirmEdit/captcha.py |
— | — | @@ -150,7 +150,7 @@ |
151 | 151 | sys.exit("Unable to find valid word combinations") |
152 | 152 | |
153 | 153 | def read_wordlist(filename): |
154 | | - return [x.strip().lower() for x in open(wordlist).readlines()] |
| 154 | + return [x.strip().lower() for x in open(filename).readlines()] |
155 | 155 | |
156 | 156 | if __name__ == '__main__': |
157 | 157 | """This grabs random words from the dictionary 'words' (one |