mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Fix task json issue due to "Bad control character in string literal in JSON at position XXXX"
This commit is contained in:
@@ -1514,11 +1514,12 @@ class Sequence(blenderbim.core.tool.Sequence):
|
||||
else:
|
||||
compare_start = schedule_start
|
||||
compare_finish = schedule_finish
|
||||
|
||||
task_name = task.Name or "Unnamed"
|
||||
task_name = task_name.replace('\n', "")
|
||||
data = {
|
||||
"pID": task.id(),
|
||||
"pName": task.Name,
|
||||
"pCaption": task.Name,
|
||||
"pName": task_name,
|
||||
"pCaption": task_name,
|
||||
"pStart": schedule_start,
|
||||
"pEnd": schedule_finish ,
|
||||
"pPlanStart": compare_start,
|
||||
|
||||
Reference in New Issue
Block a user