Commit acef73d5 authored by Dan Pascu's avatar Dan Pascu

Added spaces around operators

parent 69895e53
......@@ -5258,8 +5258,8 @@ class SessionManager(object):
def update_ringtone(self):
# Outgoing ringtone
outgoing_sessions_or_proposals = [session for session in self.sessions if session.state=='connecting/ringing' and session.direction=='outgoing' or session.state=='connected/sent_proposal']
outgoing_file_transfers = [transfer for transfer in self.file_transfers if transfer.state=='connecting/ringing' and transfer.direction=='outgoing']
outgoing_sessions_or_proposals = [session for session in self.sessions if session.state == 'connecting/ringing' and session.direction == 'outgoing' or session.state == 'connected/sent_proposal']
outgoing_file_transfers = [transfer for transfer in self.file_transfers if transfer.state == 'connecting/ringing' and transfer.direction == 'outgoing']
if any(not session.on_hold for session in outgoing_sessions_or_proposals) or outgoing_file_transfers:
settings = SIPSimpleSettings()
outbound_ringtone = settings.sounds.outbound_ringtone
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment