From 877d296b786fb8c5a19e166ee81a3ab035a608c5 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sun, 22 Mar 2020 22:03:49 +0100 Subject: [PATCH] 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 deletion(-) diff --git a/lib/scripts/legacy_lyxpreview2ppm.py b/lib/scripts/legacy_lyxpreview2ppm.py index 9b99796e13..8effd5bd00 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 23e8efed32..28a045255b 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