Update mixer.py

This commit is contained in:
g1tman 2019-10-31 16:13:21 +05:30 committed by GitHub
parent 3ea8991540
commit dec5af480a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,9 +79,7 @@ def find_channel(force=False):
if not force:
return None
busy.sort(key=lambda x : x.play_time)
return busy[0]
return min(busy, key=lambda x : x.play_time)
class ChannelImpl(object):