misc: a few "cosmetic" changes (PEP 8...)
This commit is contained in:
parent
41375e7bde
commit
f9bd9dd9b2
1 changed files with 15 additions and 11 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue