mirror of
https://github.com/capnproto/pycapnp.git
synced 2025-03-04 16:35:04 +01:00
Fix KjException init (missing wrapper).
This commit is contained in:
parent
3357771b39
commit
4e6f381855
1 changed files with 1 additions and 0 deletions
|
@ -207,6 +207,7 @@ class KjException(Exception):
|
||||||
self.wrapper = wrapper
|
self.wrapper = wrapper
|
||||||
self.message = str(wrapper)
|
self.message = str(wrapper)
|
||||||
else:
|
else:
|
||||||
|
self.wrapper = None
|
||||||
self.message = message
|
self.message = message
|
||||||
self.nature = nature
|
self.nature = nature
|
||||||
self.durability = durability
|
self.durability = durability
|
||||||
|
|
Loading…
Add table
Reference in a new issue