Skip to content

Commit

Permalink
py3: error with decode translation.
Browse files Browse the repository at this point in the history
translation already is a function defined in DraftTools and is responsable for right decoding. Not doing it twice.
  • Loading branch information
looooo authored and wwmayer committed Feb 4, 2017
1 parent 742d92c commit da2b9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Draft/DraftTools.py
Expand Up @@ -728,7 +728,7 @@ def GetResources(self):
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Draft_BezCurve", "Creates a Bezier curve. CTRL to snap, SHIFT to constrain")}

def Activated(self):
Line.Activated(self,name=translate("draft","BezCurve").decode("utf8"))
Line.Activated(self,name=translate("draft","BezCurve"))
if self.doc:
self.bezcurvetrack = bezcurveTracker()

Expand Down

0 comments on commit da2b9f3

Please sign in to comment.