py3: resolving diff in Arch
This commit is contained in:
parent
8ad2c699f8
commit
31e4489518
|
@ -136,7 +136,7 @@ class _CommandRebar:
|
||||||
if len(obj.Support) != 0:
|
if len(obj.Support) != 0:
|
||||||
sup = obj.Support[0][0]
|
sup = obj.Support[0][0]
|
||||||
else:
|
else:
|
||||||
print "Arch: error: couldn't extract a base object"
|
print("Arch: error: couldn't extract a base object")
|
||||||
return
|
return
|
||||||
FreeCAD.ActiveDocument.openTransaction(translate("Arch","Create Rebar"))
|
FreeCAD.ActiveDocument.openTransaction(translate("Arch","Create Rebar"))
|
||||||
FreeCADGui.addModule("Arch")
|
FreeCADGui.addModule("Arch")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user