Skip to content
Snippets Groups Projects
Commit c9f87c4d authored by ulif's avatar ulif
Browse files

Shorten comment.

I guess it is obvious, how the first if-clause works.
parent d8e75dfe
No related branches found
No related tags found
No related merge requests found
......@@ -152,8 +152,6 @@ 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.
# First check whehter the length is 1. Then we don't have
# to do anything else
if len(sequence) == 1:
# Check whether len(sequence) is a factor of dice.sides
return sequence[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment