Commit 4b0fadd1 authored by Marinus Schraal's avatar Marinus Schraal

playlists: Fix the async playlist creation

The code was erroneously iterating over the results, we just need the
first one.
parent 1762a92b
......@@ -309,10 +309,6 @@ class Playlists(GObject.GObject):
logger.warn("Error: %s, %s", err.__class__, err)
return
if has_next:
cursor.next_async(None, cursor_callback, data)
return
playlist_id = cursor.get_integer(0)
grilo.get_playlist_with_id(playlist_id, get_callback)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment