Fix trailing newlines and minor typo fixes

This commit is contained in:
luzpaz
2024-07-23 12:13:36 +00:00
committed by wwmayer
parent a19f4dd398
commit bc150dc73c
19 changed files with 29 additions and 29 deletions

View File

@@ -217,7 +217,7 @@ def make_label(target_point=App.Vector(0, 0, 0),
placement = App.Placement(placement, App.Rotation())
elif isinstance(placement, App.Rotation):
placement = App.Placement(App.Vector(), placement)
if target_object:
if isinstance(target_object, (list, tuple)):
_err(translate("draft","Wrong input: target_object must not be a list."))