From 2a9578187fa5c94187f82580bce7d420620a7624 Mon Sep 17 00:00:00 2001 From: ulif <uli@gnufix.de> Date: Sun, 24 Apr 2016 14:59:33 +0200 Subject: [PATCH] Move comment. The moved comment was at the wrong place. --- 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 1681bd0..56fbded 100644 --- a/diceware/random_sources.py +++ b/diceware/random_sources.py @@ -153,8 +153,8 @@ class RealDiceRandomSource(object): # If this happens, there are less values in the sequence to # choose from than there are dice sides. if len(sequence) == 1: - # Check whether len(sequence) is a factor of dice.sides return sequence[0] + # Check whether len(sequence) is a factor of dice.sides if self.dice_sides % len(sequence) == 0: num_rolls = 1 else: -- GitLab