Skip to content

Commit a60c530

Browse files
committed
Fix banner logic
1 parent c8df2e7 commit a60c530

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pysrc/juliacall/banner.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ function __PythonCall_banner(io::IO = stdout)
44
banner_opt = begin
55
opts = Base.JLOptions()
66
b = opts.banner
7-
auto = b == -1
8-
b == 0 || (auto && !interactiveinput) ? :no :
9-
b == 1 || (auto && interactiveinput) ? :yes :
7+
b == -1 ? :yes :
8+
b == 0 ? :no :
9+
b == 1 ? :yes :
1010
:short # b == 2
1111
end
1212

0 commit comments

Comments
 (0)