Arch: rebar, fix code error

This commit is contained in:
Bernd Hahnebach
2020-04-08 21:01:24 +02:00
parent 2cfb124ac6
commit 9e0a668a12

View File

@@ -331,11 +331,11 @@ class _Rebar(ArchComponent.Component):
)
return
if not obj.Amount:
return
FreeCAD.Console.PrintError(
"No Amount, return without a rebar shape for {}.\n"
.format(obj.Name)
)
return
father = obj.Host
fathershape = None
if not father: