Skip to content

Commit a41c097

Browse files
author
Dani Pinyol
committed
convert JuliaError.__str__ to python
1 parent 9e2a551 commit a41c097

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pysrc/juliacall/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ def __str__(self):
2727
e = self.exception
2828
b = self.backtrace
2929
if b is None:
30-
return Base.sprint(Base.showerror, e)
30+
return Base.sprint(Base.showerror, e).jl_to_py()
3131
else:
32-
return Base.sprint(Base.showerror, e, b)
32+
return Base.sprint(Base.showerror, e, b).jl_to_py()
3333
@property
3434
def exception(self):
3535
return self.args[0]

0 commit comments

Comments
 (0)