Mercurial > libervia-backend
diff frontends/src/wix/chat.py @ 638:6821fc06a324
misc: a few "cosmetic" changes (PEP 8...)
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 05 Sep 2013 20:57:00 +0200 |
parents | 84a6e83157c2 |
children | f7878ad3c846 |
line wrap: on
line diff
--- a/frontends/src/wix/chat.py Sun Sep 08 19:13:02 2013 +0200 +++ b/frontends/src/wix/chat.py Thu Sep 05 20:57:00 2013 +0200 @@ -199,10 +199,10 @@ def onEnterPressed(self, event): """Behaviour when enter pressed in send line.""" - self.host.sendMessage(self.target.short if self.type=='group' else self.target, - event.GetString(), - mess_type = "groupchat" if self.type=='group' else "chat", - profile_key=self.host.profile) + self.host.sendMessage(self.target.short if self.type == 'group' else self.target, + event.GetString(), + mess_type="groupchat" if self.type == 'group' else "chat", + profile_key=self.host.profile) self.textBox.Clear() def __blink(self):