plugin text syntaxes: fixes typo
This commit is contained in:
parent
930eb1618f
commit
f24d4f7992
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ class TextSyntaxes(object):
|
|||
|
||||
syntaxes = TextSyntaxes.params_data['syntaxes']
|
||||
if name in syntaxes:
|
||||
raise exceptions.ConflitError(u"This syntax name already exists: {}".format(name))
|
||||
raise exceptions.ConflictError(u"This syntax name already exists: {}".format(name))
|
||||
syntaxes[name] = {"to": to_xhtml_cb, "from": from_xhtml_cb, "flags": flags}
|
||||
if TextSyntaxes.OPT_DEFAULT in flags:
|
||||
syntaxes = TextSyntaxes.params_data['default'] = name
|
||||
|
|
|
|||
Loading…
Reference in a new issue