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