py3: resolving diff in Arch

This commit is contained in:
looooo 2017-01-17 09:28:07 +01:00
parent 8ad2c699f8
commit 31e4489518

View File

@ -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")