Merge pull request #30 from seifertk/fix_queue
fix iteration over queue
This commit is contained in:
commit
63e1277528
@ -289,7 +289,7 @@ class MumbleBot:
|
|||||||
msg = var.config.get('strings', 'queue_empty')
|
msg = var.config.get('strings', 'queue_empty')
|
||||||
else:
|
else:
|
||||||
msg = var.config.get('strings', 'queue_contents') + '<br />'
|
msg = var.config.get('strings', 'queue_contents') + '<br />'
|
||||||
for (music_type, path) in var.playlist:
|
for (music_type, path, user) in var.playlist:
|
||||||
msg += '({}) {}<br />'.format(music_type, path)
|
msg += '({}) {}<br />'.format(music_type, path)
|
||||||
|
|
||||||
self.send_msg_channel(msg)
|
self.send_msg_channel(msg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user