If else
Added else
This commit is contained in:
parent
3913e23804
commit
38fba84fd7
@ -40,6 +40,7 @@ def kill_session():
|
|||||||
if user in USER_IGNORE or media_type == 'track':
|
if user in USER_IGNORE or media_type == 'track':
|
||||||
print('Ignoring {}\'s {} stream.'.format(user, media_type))
|
print('Ignoring {}\'s {} stream.'.format(user, media_type))
|
||||||
pass
|
pass
|
||||||
|
else:
|
||||||
try:
|
try:
|
||||||
trans_dec = session.transcodeSessions[0].videoDecision
|
trans_dec = session.transcodeSessions[0].videoDecision
|
||||||
if trans_dec == 'transcode':
|
if trans_dec == 'transcode':
|
||||||
|
Loading…
Reference in New Issue
Block a user