]> git.lyx.org Git - features.git/commitdiff
Amend bd6d09fc
authorEnrico Forestieri <forenr@lyx.org>
Sun, 22 Mar 2020 21:03:49 +0000 (22:03 +0100)
committerEnrico Forestieri <forenr@lyx.org>
Mon, 18 May 2020 20:27:56 +0000 (22:27 +0200)
Was forgetting this.

(cherry picked from commit 92c4bb46828941a36cb464bb2202607fe2abb934)

lib/scripts/legacy_lyxpreview2ppm.py
status.23x

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:
index 23e8efed324230ac2913eb8af11ea33f05a357e0..28a045255b832c1d2bd5e8fc73133fdc410b3d33 100644 (file)
@@ -137,6 +137,8 @@ What's new
 - Disable PDF bookmarksopen level widget if booksmarksopen is false
   (bug 11289).
 
+- Fix encoding issues with python 3 when generating preview snippets.
+
 
 * INTERNALS