Browse Source

Minimum, not maximum

master
Noëlle 4 years ago
parent
commit
931ce4fb30
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      koboldgen.py

+ 1
- 1
koboldgen.py View File

@@ -8,7 +8,7 @@ def gen_name(length=None, minimum=None, maximum=None):
if length == None:
minimum = 3 if minimum == None else minimum
maximum = 9 if maximum == None else maximum
lgt = r.randint(maximum,maximum)
lgt = r.randint(minimum,maximum)
else:
lgt = length
morae = []

Loading…
Cancel
Save