misc: a few "cosmetic" changes (PEP 8...)

This commit is contained in:
souliane 2013-09-05 20:57:00 +02:00
commit f9bd9dd9b2

View file

@ -199,10 +199,10 @@ class Chat(wx.Frame, QuickChat):
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):