Skip to content

Commit

Permalink
Fix: Resolve mypy error.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjones1 committed Mar 6, 2024
1 parent 87dadfe commit 4fa02f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CodeChat_Server/CodeChat_Server/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ async def stdout_streamer(stdout_stream: asyncio.StreamReader):
return "", "external command:: ERROR:When running. {}".format(e)

return (
stdout and stdout.decode("utf-8", errors="backslashreplace"),
stdout.decode("utf-8", errors="backslashreplace") if stdout else "",
stderr.decode("utf-8", errors="backslashreplace"),
)

Expand Down

0 comments on commit 4fa02f9

Please sign in to comment.