mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix typo/thinko here. It's the match result we want to check, of course.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35994 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3142a62c7a
commit
e37525b0ba
@ -1402,7 +1402,7 @@ def revert_math_output(document):
|
||||
rgx = re.compile(r'\\html_math_output\s+(\d)')
|
||||
m = rgx.match(document.header[i])
|
||||
newval = "true"
|
||||
if rgx:
|
||||
if m:
|
||||
val = m.group(1)
|
||||
if val == "1" or val == "2":
|
||||
newval = "false"
|
||||
|
Loading…
Reference in New Issue
Block a user