Update make_label.py
If custom_text is a string there is no need to put it in a list.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user