Dont use str as a var name

This commit is contained in:
Philipp Hörist 2018-04-09 21:39:57 +02:00
parent cf8f0c2e83
commit 363fdf7d9a
1 changed files with 2 additions and 2 deletions

View File

@ -502,9 +502,9 @@ class ChatControl(ChatControlBase):
if jingle_type not in ('audio', 'video'):
return
if state in ('connecting', 'connected', 'stop', 'error') and reason:
str = _('%(type)s state : %(state)s, reason: %(reason)s') % {
info = _('%(type)s state : %(state)s, reason: %(reason)s') % {
'type': jingle_type.capitalize(), 'state': state, 'reason': reason}
self.print_conversation(str, 'info')
self.print_conversation(info, 'info')
states = {'connecting': self.JINGLE_STATE_CONNECTING,
'connection_received': self.JINGLE_STATE_CONNECTION_RECEIVED,