Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Aug 22, 2022
1 parent 94a77bf commit 56b3ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyinit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function __init__()
end

# ensure Jupyter/IJulia flushes I/O streams (issue #912)
if isdefined(Main, :IJulia) && IJulia.inited
if isdefined(Main, :IJulia) && Main.IJulia.inited
Main.IJulia.push_postexecute_hook() do
sys = pyimport("sys")
sys."stdout"."flush"()
Expand Down

0 comments on commit 56b3ffa

Please sign in to comment.