diff --git a/diceware/random_sources.py b/diceware/random_sources.py index 6c18d1725d3194556c372dcc0f61dc8afc861467..2d4a51206e52f1ade7766e31ba6f8804a64b2fc3 100644 --- a/diceware/random_sources.py +++ b/diceware/random_sources.py @@ -154,7 +154,7 @@ class RealDiceRandomSource(object): if num_rolls < 1: # If this happens, there are less values in the sequence to # choose from than there are dice sides. - # Check whether len(sequence) is a factor of dice.sides + # Check whether len(sequence) is a factor of dice_sides if self.dice_sides % len(sequence) == 0: num_rolls = 1 else: