Browse Source

Edge case

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

+ 1
- 1
koboldgen.py View File

@@ -156,7 +156,7 @@ class Plot:
if self.problem["needsName"]:
self.problem["givenname"] = probName if probName != None else gen_name()
self.fullProblem += self.problem["givenname"] + ", "
if not self.problem["isPlural"]:
if not self.problem["isPlural"] and self.problem["name"].split(" ")[0] != "Old":
if self.problem["name"][0].lower() in ["a","e","i","o","u"]:
self.fullProblem += "an "
else:

Loading…
Cancel
Save