2017-10-12 11:38 GMT+02:00 Helge Hafting:

> If there is a problem in layout2layout, finding it may be useful before
> release?
>

Yes. Can you try if the attached patch fixes the problem?

Jürgen


>
>
> Helge Hafting
>
>
diff --git a/lib/scripts/layout2layout.py b/lib/scripts/layout2layout.py
index eebacf883d..77cafa048a 100644
--- a/lib/scripts/layout2layout.py
+++ b/lib/scripts/layout2layout.py
@@ -471,7 +471,7 @@ def convert(lines, end_format):
               re_trimEndLabelString, re_trimLabelCounter):
                 m = r.match(lines[i])
                 if m:
-                    lines[i] = m.group(1) + '"' + m.group(2) + '"'
+                    lines[i] = m.group(1) + b'"' + m.group(2) + b'"'
             i += 1
             continue
 

Reply via email to