Skip to content

Commit 027bca6

Browse files
committed
Bug fix
1 parent 7881981 commit 027bca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RATapi/project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ def write_item(item):
868868
+ f"'filename': '{item.filename}', "
869869
+ f"'function_name': '{item.function_name}', "
870870
+ f"'language': '{str(item.language)}', "
871-
+ f"'path': '{str(item.path)}'"
871+
+ f"'path': r'{str(item.path)}'" # Raw string to ensure backslash is not interpreted as escape
872872
+ "}"
873873
)
874874
return item_str

0 commit comments

Comments
 (0)