Skip to content

Commit

Permalink
removing the <CR> replacement as it was causing issues in non-windows…
Browse files Browse the repository at this point in the history
… environments
  • Loading branch information
PhillipsOwen committed Mar 22, 2024
1 parent 7ddd69c commit b770a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/pg_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def update_run_results(self, run_id: str, results: json):
:return:
"""
# make sure the sql lacks single quotes
results = json.dumps(results).replace('\'', '').replace("\\n", ' ')
results = json.dumps(results).replace('\'', '')

# create the sql
sql: str = f"SELECT public.update_run_results({run_id}, '{results}')"
Expand Down

0 comments on commit b770a12

Please sign in to comment.