Explorar el Código

Edge case

master
Noëlle hace 3 años
padre
commit
02916d6202
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      koboldgen.py

+ 1
- 1
koboldgen.py Ver fichero

@@ -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:

Cargando…
Cancelar
Guardar