Skip to content

Commit

Permalink
client: Double escape backslashes in strings
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmhewitt authored and barthalion committed May 5, 2024
1 parent d1c3d36 commit dc60b91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flat-manager-client
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,9 @@ async def wait_for_job(session, job_url, token):
iterations_since_change=iterations_since_change+1
if job_status > 1:
if job_status == 2:
print("\ Job completed successfully")
print("\\ Job completed successfully")
else:
print("\ Job failed")
print("\\ Job failed")
raise FailedJobError(job)
return job
else:
Expand Down Expand Up @@ -497,7 +497,7 @@ async def wait_for_checks(session, build_url, token):
build = await resp.json()
for check in build["checks"]:
if check["status"] == 3:
print("\ Check {} has failed".format(check["check_name"]))
print("\\ Check {} has failed".format(check["check_name"]))
raise FailedJobError(check)

@retry(
Expand Down

0 comments on commit dc60b91

Please sign in to comment.