From 06b9827367db98c9422edeea1bd43053f6d1e126 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 19 May 2010 06:51:06 -0400 Subject: [PATCH] Add another parameter-casting hack. --- hooke/plugin/playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooke/plugin/playlist.py b/hooke/plugin/playlist.py index 3940a2f..79e4f38 100644 --- a/hooke/plugin/playlist.py +++ b/hooke/plugin/playlist.py @@ -117,7 +117,7 @@ Index of target curve. help=self.__doc__, plugin=plugin) def _run(self, hooke, inqueue, outqueue, params): - params['playlist'].jump(params['index']) + params['playlist'].jump(int(params['index'])) # HACK, int() should be handled by ui class IndexCommand (Command): """Print the index of the current curve. -- 2.26.2