Explorar el Código

Spelling error!

tags/v0.1^2
Ben Kurtovic hace 12 años
padre
commit
1ca93674e5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      earwigbot/commands/dictionary.py

+ 1
- 1
earwigbot/commands/dictionary.py Ver fichero

@@ -113,7 +113,7 @@ class Dictionary(Command):
blocks + "\s*\{\{" + fullname + "\}\}\s*" + blocks,
blocks + "\s*\{\{" + fullname.lower() + "\}\}\s*" + blocks,
]
for regex in regex:
for regex in regexes:
if re.search(regex, section):
regex = "{0}\s*{1}\s*{0}(.*?)(?:(?:{0})|\Z)"
regex = regex.format(blocks, fullname)


Cargando…
Cancelar
Guardar