summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0004.py
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp/plugins/xep_0004.py')
-rw-r--r--sleekxmpp/plugins/xep_0004.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0004.py b/sleekxmpp/plugins/xep_0004.py
index cbc0a236..678b266c 100644
--- a/sleekxmpp/plugins/xep_0004.py
+++ b/sleekxmpp/plugins/xep_0004.py
@@ -100,7 +100,7 @@ class Form(FieldContainer):
form1.fromXML(self.getXML(self.type))
for field in form2.fields:
if not field.var in form1.fields:
- form1.addField(field.var, field.type, field.label, field.desc, field.required, field.value):
+ form1.addField(field.var, field.type, field.label, field.desc, field.required, field.value)
else:
form1.fields[field.var].value = field.value
for option, label in field.options: