From 9ec9261fcd7cd2903e648544647111b50e61397e Mon Sep 17 00:00:00 2001 From: Roy-043 <70520633+Roy-043@users.noreply.github.com> Date: Sat, 22 May 2021 16:33:12 +0200 Subject: [PATCH] Update make_label.py If custom_text is a string there is no need to put it in a list. --- src/Mod/Draft/draftmake/make_label.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Mod/Draft/draftmake/make_label.py b/src/Mod/Draft/draftmake/make_label.py index ef1ac958dc..5ffac5b2fb 100644 --- a/src/Mod/Draft/draftmake/make_label.py +++ b/src/Mod/Draft/draftmake/make_label.py @@ -291,9 +291,6 @@ def make_label(target_point=App.Vector(0, 0, 0), _err(translate("draft","Wrong input: must be a list of strings or a single string.")) return None - if isinstance(custom_text, str): - custom_text = [custom_text] - _msg("direction: {}".format(direction)) if not direction: direction = "Horizontal"