File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 12
12
13
13
class WordList :
14
14
def get_stdin_wordlist (self ):
15
- return list (line for line in sys .stdin .read ().splitlines ()) if not sys .stdin .isatty () else []
15
+ return list (line for line in sys .stdin .read ().splitlines ()) \
16
+ if not sys .stdin .isatty () else []
16
17
17
18
def get_wordlist (self , wordlist_files = None ):
18
19
wordlist = []
@@ -24,6 +25,7 @@ def get_wordlist(self, wordlist_files=None):
24
25
wordlist .extend (stdin_words )
25
26
combined = get_combined_word_lists (wordlist_files or DEFAULT_WORDLIST_FILE )
26
27
if combined :
27
- wordlist_types .append ('wordlists: {}' .format (', ' .join (combined ['file_paths' ])))
28
+ wordlist_types .append ('wordlists: {}' .format (
29
+ ', ' .join (combined ['file_paths' ])))
28
30
wordlist .extend (combined ['words' ])
29
31
return wordlist , wordlist_types
You can’t perform that action at this time.
0 commit comments