commit 877d296b786fb8c5a19e166ee81a3ab035a608c5
Author: Enrico Forestieri <[email protected]>
Date: Sun Mar 22 22:03:49 2020 +0100
Amend bd6d09fc
Was forgetting this.
(cherry picked from commit 92c4bb46828941a36cb464bb2202607fe2abb934)
---
lib/scripts/legacy_lyxpreview2ppm.py | 2 +-
status.23x | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/lib/scripts/legacy_lyxpreview2ppm.py
b/lib/scripts/legacy_lyxpreview2ppm.py
index 9b99796..8effd5b 100644
--- a/lib/scripts/legacy_lyxpreview2ppm.py
+++ b/lib/scripts/legacy_lyxpreview2ppm.py
@@ -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:
diff --git a/status.23x b/status.23x
index 23e8efe..28a0452 100644
--- a/status.23x
+++ b/status.23x
@@ -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
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs