projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f233474
)
Fix 'remove curve from playlist' implementation.
author
W. Trevor King
<wking@drexel.edu>
Thu, 10 Nov 2011 17:01:57 +0000
(12:01 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 10 Nov 2011 17:01:57 +0000
(12:01 -0500)
hooke/plugin/playlist.py
patch
|
blob
|
history
diff --git
a/hooke/plugin/playlist.py
b/hooke/plugin/playlist.py
index f9d7f31ffa68b75db4ee4af9ec7943ff90d9ad4d..b5a2f2a8bb2f6ed048837a6ffdf0d9e0af981b72 100644
(file)
--- 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):