black format

This commit is contained in:
Andrej730
2024-01-26 14:22:17 +05:00
parent 566fd443db
commit b7a3dd4164
5 changed files with 11 additions and 10 deletions
@@ -62,9 +62,7 @@ class Usecase:
def execute(self):
if ifcopenshell.util.constraint.is_attribute_locked(self.settings["resource"], "Usage.ScheduleWork"):
return
amount_worked = ifcopenshell.util.resource.get_resource_required_work(
self.settings["resource"]
)
amount_worked = ifcopenshell.util.resource.get_resource_required_work(self.settings["resource"])
if not amount_worked:
return
if not self.settings["resource"].Usage: