mirror of
https://github.com/beetbox/beets.git
synced 2025-12-10 02:22:25 +01:00
Fix the list command in BPD
The cmd_list method wasn't a generator as run() expected, but instead loaded directly the data onto the connection withoutactually sending it.
This commit is contained in:
parent
bc3b51705a
commit
52a34c7510
1 changed files with 1 additions and 1 deletions
|
|
@ -998,7 +998,7 @@ class Server(BaseServer):
|
|||
c.execute(statement, subvals)
|
||||
|
||||
for row in c:
|
||||
conn.send(show_tag_canon + u': ' + unicode(row[0]))
|
||||
yield show_tag_canon + u': ' + unicode(row[0])
|
||||
|
||||
def cmd_count(self, conn, tag, value):
|
||||
"""Returns the number and total time of songs matching the
|
||||
|
|
|
|||
Loading…
Reference in a new issue