From 9e01b2603874dcb4a96a73caceaeee5900ea80c1 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Fri, 5 Jan 2018 20:00:32 -0200 Subject: [PATCH] Draft: Fixed problem with french translation --- src/Mod/Draft/DraftGui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/Draft/DraftGui.py b/src/Mod/Draft/DraftGui.py index b5efa59688..f3ee3d7b5e 100644 --- a/src/Mod/Draft/DraftGui.py +++ b/src/Mod/Draft/DraftGui.py @@ -118,6 +118,8 @@ class todo: todo.itinerary = [] if todo.commitlist: for name,func in todo.commitlist: + if isinstance(name,unicode): + name = name.encode("utf8") #print("debug: committing ",str(name)) try: name = str(name)