diff --git a/src/common/dataforms.py b/src/common/dataforms.py index 6e9522e2e..06c8ff2b8 100644 --- a/src/common/dataforms.py +++ b/src/common/dataforms.py @@ -13,7 +13,7 @@ class WrongFieldValue(Error): pass # when we get xmpp.Node which contains bad fi class ExtendedNode(xmpp.Node, object): @classmethod def __new__(cls, *a, **b): - if 'extend' not in b.keys() or not b[keys]: + if 'extend' not in b.keys() or not b['extend']: return object.__new__(cls) extend = b['extend']