Merge pull request #30 from seifertk/fix_queue

fix iteration over queue
This commit is contained in:
azlux 2018-08-28 10:10:00 +02:00 committed by GitHub
commit 63e1277528
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -289,7 +289,7 @@ class MumbleBot:
msg = var.config.get('strings', 'queue_empty')
else:
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)
self.send_msg_channel(msg)