]> git.lyx.org Git - lyx.git/blobdiff - lib/scripts/legacy_lyxpreview2ppm.py
Converters: slightly more pythonic code.
[lyx.git] / lib / scripts / legacy_lyxpreview2ppm.py
index 9b99796e138c1b2e0d351cbf7af01da363282a73..8effd5bd00cfdc5ba2a60992db72c517570f2424 100644 (file)
@@ -111,7 +111,7 @@ def legacy_extract_metrics_info(log_file):
             if match == None:
                 continue
 
-            snippet = (match.group(1) == 'S')
+            snippet = (match.group(1) == b'S')
             success = 1
             match = data_re.search(line)
             if match == None: