diff --git a/bump/bump.py b/bump/bump.py old mode 100644 new mode 100755 index 460c1d5..0a9ffd1 --- a/bump/bump.py +++ b/bump/bump.py @@ -117,11 +117,10 @@ class Bump: def _generate_keywords(self) -> str: pattern = re.compile('^[a-zA-Z]+$') - WORDS = r.get_random_words() secret = "" word_count = 0 while word_count < SENDER_LENGTH + PASSWORD_LENGTH: - word = random.choice(WORDS) + word = r.get_random_word() if pattern.match(word) and len(word) < 10 and len(word) >= 4: secret += word + "-" word_count += 1