From e3d08b1203ed601e6e9be5980893b2d81e683e77 Mon Sep 17 00:00:00 2001
From: ulif <uli@gnufix.de>
Date: Sun, 24 Apr 2016 23:57:52 +0200
Subject: [PATCH] Fix typo.

---
 diceware/random_sources.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diceware/random_sources.py b/diceware/random_sources.py
index 6c18d17..2d4a512 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:
-- 
GitLab