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

@@ -494,7 +494,10 @@ class ObjectOp(object):
def setDefaultValues(self, obj):
"""setDefaultValues(obj) ... base implementation.
Do not overwrite, overwrite opSetDefaultValues() instead."""
job = PathUtils.addToJob(obj)
if self.job:
job = self.job
else:
job = PathUtils.addToJob(obj)
obj.Active = True