Update mixer.py
This commit is contained in:
parent
fb497cebfe
commit
174d8a6a4a
1 changed files with 1 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue