Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
f59042fc
Commit
f59042fc
authored
Feb 18, 2016
by
Alexandre Duret-Lutz
Browse files
* python/ajax/spotcgi.in: Thinko.
parent
22f442f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
python/ajax/spotcgi.in
View file @
f59042fc
...
...
@@ -436,6 +436,7 @@ formula = form.getfirst('f', '')
env
=
spot
.
default_environment
.
instance
()
pf
=
spot
.
parse_infix_psl
(
formula
,
env
)
f
=
pf
.
f
if
pf
.
errors
:
# Try the LBT parser in case someone is throwing LBT formulas at us.
...
...
@@ -444,7 +445,6 @@ if pf.errors:
unbufprint
(
'<div class="parse-error">'
)
err
=
pf
.
format_errors
(
spot
.
get_cout
())
unbufprint
(
'</div>'
)
f
=
pf
.
f
else
:
f
=
pg
.
f
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment