Skip to content

Commit

Permalink
other typo
Browse files Browse the repository at this point in the history
  • Loading branch information
disberd committed Mar 5, 2024
1 parent 7a15b75 commit 5a0c00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PlotlyKaleido.jl
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function start(;

res = readline_noblock(P.stdout; timeout) # {"code": 0, "message": "Success", "result": null, "version": "0.2.1"}
length(res) == 0 && warn_and_kill("Kaleido startup failed.")
if !is_running()
if is_running()
code = JSON.parse(res)["code"]
code == 0 || warn_and_kill("Kaleido startup failed with code $code.")
end
Expand Down

0 comments on commit 5a0c00f

Please sign in to comment.