From: W. Trevor King Date: Wed, 19 May 2010 10:51:06 +0000 (-0400) Subject: Add another parameter-casting hack. X-Git-Url: http://git.tremily.us/?p=hooke.git;a=commitdiff_plain;h=6befbbd82fe20f76c983793e9eb5cc32900c1d64 Add another parameter-casting hack. --- 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.