From b0be6d6f75dac4a3f26f5ce975bdd12ef0112822 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sat, 14 Aug 2010 09:19:59 -0400 Subject: [PATCH] Fix p name collision bug in plugin.playlist.LoadCommand._run --- 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 da16dfc..69cc562 100644 --- a/hooke/plugin/playlist.py +++ b/hooke/plugin/playlist.py @@ -247,7 +247,7 @@ Drivers for loading curves. def _run(self, hooke, inqueue, outqueue, params): p = FilePlaylist(drivers=params['drivers'], path=params['input']) p.load(hooke=hooke) - playlist_names = [p.name for p in hooke.playlists] + playlist_names = [playlist.name for playlist in hooke.playlists] if p.name not in playlist_names: params['output playlist'] = p.name # HACK: override input name. How to tell if it is callback-generated? self._set_playlist(hooke, params, p) -- 2.26.2