diff options
Diffstat (limited to 'sleekxmpp/exceptions.py')
-rw-r--r-- | sleekxmpp/exceptions.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sleekxmpp/exceptions.py b/sleekxmpp/exceptions.py index 980c6b6e..d3988b4a 100644 --- a/sleekxmpp/exceptions.py +++ b/sleekxmpp/exceptions.py @@ -38,6 +38,9 @@ class XMPPError(Exception): element. Same as the additional arguments to the ET.Element constructor. """ + if extension_args is None: + extension_args = {} + self.condition = condition self.text = text self.etype = etype |