diff bin/effecteval @ 1557:104ff4606565

cleanup. internal names in edit.py Ignore-this: a27582c2365bed1cd24a775227a02e24
author Drew Perttula <drewp@bigasterisk.com>
date Tue, 23 May 2017 06:32:15 +0000
parents 61f3f378cc62
children 7eb3676b8fd6
line wrap: on
line diff
--- a/bin/effecteval	Tue May 23 06:27:10 2017 +0000
+++ b/bin/effecteval	Tue May 23 06:32:15 2017 +0000
@@ -66,12 +66,8 @@
             
         log.info("adding to %s", song)
 
-        ctx = song
-        graph = self.settings.graph
-
-        p = yield songEffectPatch(graph, dropped, song, event, ctx)
-
-        graph.patch(p)
+        p = yield songEffectPatch(self.settings.graph, dropped, song, event, ctx=song)
+        self.settings.graph.patch(p)
         
 class SongEffectsUpdates(cyclone.websocket.WebSocketHandler):
     def connectionMade(self, *args, **kwargs):