mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
Fix silly bug.
This commit is contained in:
@@ -64,8 +64,8 @@ class Usecase:
|
||||
|
||||
def execute(self):
|
||||
if self.settings["is_recurring"]:
|
||||
task_time = self.file.create_entity("IfcTaskTime")
|
||||
else:
|
||||
task_time = self.file.create_entity("IfcTaskTimeRecurring")
|
||||
else:
|
||||
task_time = self.file.create_entity("IfcTaskTime")
|
||||
self.settings["task"].TaskTime = task_time
|
||||
return task_time
|
||||
|
||||
Reference in New Issue
Block a user