Skip to content

Commit 9a718eb

Browse files
actually show the filename (#849)
1 parent f59901a commit 9a718eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/show.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ function print_geo(io, mime, A; blockwidth)
3434
end
3535
if isdisk(A)
3636
fn = filename(A)
37-
if !(fn == "")
37+
if !isnothing(fn) && !(fn == "")
3838
printstyled(io, "\n filename: "; color=:light_black)
39-
print(io, )
39+
print(io, fn)
4040
end
4141
end
4242
println(io)

0 commit comments

Comments
 (0)