Add another parameter-casting hack.
authorW. Trevor King <wking@drexel.edu>
Wed, 19 May 2010 10:51:06 +0000 (06:51 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 19 May 2010 10:51:06 +0000 (06:51 -0400)
hooke/plugin/playlist.py

index 3940a2fa0c36ba1623db5dc2876674fab71c1dd8..79e4f388490e29edf112b690d468d47de83f9499 100644 (file)
@@ -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.