Use .index() instead of ._index for NoteIndexList access
[hooke.git] / hooke / plugin / playlists.py
index 2be0c9bdef44b78bcd3f0463da1f0015dd49dddd..44bbe923074eb75c1672ea39aa995b518d0d8c75 100644 (file)
@@ -84,7 +84,7 @@ class IndexCommand (Command):
             help=self.__doc__, plugin=plugin)
 
     def _run(self, hooke, inqueue, outqueue, params):
-       outqueue.put(hooke.playlists._index)
+       outqueue.put(hooke.playlists.index())
 
 class PlaylistListCommand (Command):
     """Get the playlists in `hooke.playlists`.