Update mixer.py

This commit is contained in:
g1tman 2019-10-31 16:09:01 +05:30 committed by GitHub
parent fb497cebfe
commit 174d8a6a4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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