]> git.lyx.org Git - features.git/commitdiff
Fix typo/thinko here. It's the match result we want to check, of course.
authorRichard Heck <rgheck@comcast.net>
Tue, 2 Nov 2010 14:47:28 +0000 (14:47 +0000)
committerRichard Heck <rgheck@comcast.net>
Tue, 2 Nov 2010 14:47:28 +0000 (14:47 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35994 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_2_0.py

index 5e412505d02c6598f3bab9dec75889488566b15f..779a0c5f0748420408271b30a55ff9465a0d3c4f 100644 (file)
@@ -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"