diff --git a/src/common/jingle.py b/src/common/jingle.py index 10b9ce3ee..f5cbc0ec3 100644 --- a/src/common/jingle.py +++ b/src/common/jingle.py @@ -325,7 +325,10 @@ class JingleAudioSession(object): Codec('speex', clockrate='16000'), ] - other_l = other if other is not None else [] + if other is not None: + other_l = other + else: + other_l = [] our_l = supported_codecs[:] out = [] ids = range(128)