diff frontends/src/quick_frontend/quick_profile_manager.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 ff86abc12206
children 039d96e131be
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_profile_manager.py	Thu Apr 16 13:31:14 2015 +0200
+++ b/frontends/src/quick_frontend/quick_profile_manager.py	Thu Apr 16 14:57:57 2015 +0200
@@ -178,11 +178,11 @@
             if login != self.current.login and self.current.login is not None:
                 self.current.login = login
                 self.host.bridge.setParam("JabberID", login, "Connection", profile_key=self.current.profile)
-                log.info("login updated for profile [{}]".format(self.current.profile))
+                log.info(u"login updated for profile [{}]".format(self.current.profile))
             if password != self.current.password and self.current.password is not None:
                 self.current.password = password
                 self.host.bridge.setParam("Password", password, "Connection", profile_key=self.current.profile)
-                log.info("password updated for profile [{}]".format(self.current.profile))
+                log.info(u"password updated for profile [{}]".format(self.current.profile))
 
     ## graphic updates (should probably be overriden in frontends) ##