diff src/plugins/plugin_xep_0313.py @ 1409:3265a2639182

massive (preventive) addition of 'u' (unicode) before the strings passed to logging functions
author souliane <souliane@mailoo.org>
date Thu, 16 Apr 2015 14:57:57 +0200
parents 069ad98b360d
children d17772b0fe22
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0313.py	Thu Apr 16 13:31:14 2015 +0200
+++ b/src/plugins/plugin_xep_0313.py	Thu Apr 16 14:57:57 2015 +0200
@@ -119,7 +119,7 @@
         if form_xml:
             form = data_form.Form.fromElement(parseXml(form_xml))
             if form.formNamespace != NS_MAM:
-                log.error(_("Expected a MAM Data Form, got instead: %s") % form.formNamespace)
+                log.error(_(u"Expected a MAM Data Form, got instead: %s") % form.formNamespace)
                 form = None
         else:
             form = None