Skip to content

Commit

Permalink
Fix another issue with wordList and wordFile
Browse files Browse the repository at this point in the history
  • Loading branch information
drGrove committed May 20, 2019
1 parent c033553 commit 772cbe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mtls.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,9 @@ def get_csr(self):

def _genPW(self):
try:
wordList = open(os.path.join(sys._MEIPASS, 'password_word_list'))
wordFile = open(os.path.join(sys._MEIPASS, 'password_word_list'))
except AttributeError:
wordList = open(
wordFile = open(
os.path.join(os.path.dirname(__file__), 'password_word_list')
)
wordList = []
Expand Down

0 comments on commit 772cbe1

Please sign in to comment.