From 6f1bad3eb5145f72b64eda5e078336257eec2f2a Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 5 Nov 2016 14:55:48 +0000 Subject: [PATCH] Fix NameError in DataForms with a media type. --- src/common/dataforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/dataforms.py b/src/common/dataforms.py index ffb15926d..6dd6b896c 100644 --- a/src/common/dataforms.py +++ b/src/common/dataforms.py @@ -302,7 +302,7 @@ class Media(nbxmpp.Node): def fset(self, value): fdel(self) - for uri in values: + for uri in value: self.addChild(node=uri) def fdel(self, value):