From 4e6f3818554f2d70aa10dcd8aa965706a157ad2c Mon Sep 17 00:00:00 2001 From: Sergei Dyshel Date: Wed, 21 Oct 2015 15:02:06 +0300 Subject: [PATCH] Fix KjException init (missing wrapper). --- capnp/lib/capnp.pyx | 1 + 1 file changed, 1 insertion(+) diff --git a/capnp/lib/capnp.pyx b/capnp/lib/capnp.pyx index 19b7acf..ac6e4dd 100644 --- a/capnp/lib/capnp.pyx +++ b/capnp/lib/capnp.pyx @@ -207,6 +207,7 @@ class KjException(Exception): self.wrapper = wrapper self.message = str(wrapper) else: + self.wrapper = None self.message = message self.nature = nature self.durability = durability