Black reformat

This commit is contained in:
sliptonic
2021-09-01 12:22:43 -05:00
parent ddc4c69e82
commit b53ec3bd4e
4 changed files with 10 additions and 6 deletions

View File

@@ -1446,9 +1446,9 @@ def SetupProperties():
return setup
def Create(name, obj=None):
def Create(name, obj=None, parentJob=None):
"""Create(name) ... Creates and returns a Profile based on faces operation."""
if obj is None:
obj = FreeCAD.ActiveDocument.addObject("Path::FeaturePython", name)
obj.Proxy = ObjectProfile(obj, name)
obj.Proxy = ObjectProfile(obj, name, parentJob)
return obj