Skip to content
Snippets Groups Projects

uniform_weblog_digging: Strings where strings are wanted, and the extended...

Merged Jim Sheckard requested to merge uniform_weblog_fixes into main
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -202,7 +202,7 @@ class WorkflowWorkingDirRestService:
)
qa_notes_text = ""
with open(str(qa_notes_path), "r") as qa_notes:
with open(qa_notes_path, "r") as qa_notes:
qa_notes_text = qa_notes.read()
return Response(status_int=http.HTTPStatus.OK, json_body={"resp": f"{qa_notes_text}"})
@@ -223,7 +223,7 @@ class WorkflowWorkingDirRestService:
},
)
with open(str(qa_notes_path), "w") as qa_notes:
with open(qa_notes_path, "w") as qa_notes:
# sanitize input before writing/persisting
# \\u0000 is an invalid character that is incompatible with postgres json columns
# from StackOverflow: https://stackoverflow.com/questions/63092267/how-to-handle-api-responsesjson-containing-x00-or-u0000-in-its-data-and-s
Loading