From 83dda65c275abe3ecaee409cf3f56d3084f8c3c8 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 10 Nov 2011 12:01:57 -0500 Subject: [PATCH] Fix 'remove curve from playlist' implementation. --- hooke/plugin/playlist.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hooke/plugin/playlist.py b/hooke/plugin/playlist.py index f9d7f31..b5a2f2a 100644 --- a/hooke/plugin/playlist.py +++ b/hooke/plugin/playlist.py @@ -345,8 +345,9 @@ Index of target curve. help=self.__doc__, plugin=plugin) def _run(self, hooke, inqueue, outqueue, params): - self._playlist(hooke, params).pop(params['index']) - self._playlist(hooke, params).jump(params.index()) + playlist = self._playlist(hooke, params) + playlist.pop(params['index']) + playlist.jump(playlist.index()) class ApplyCommand (PlaylistCommand): -- 2.26.2