# HG changeset patch # User drewp@bigasterisk.com # Date 2013-06-13 00:16:42 # Node ID 183e3afea4ccefced5bcb18cad9de9d09ea96253 # Parent 331e67fa14929f0f9c2a0318182b397cae62b25b curvecalc tripleFilter optimization Ignore-this: be23ad34d862fe960b253f8c33d7b5fd diff --git a/bin/curvecalc b/bin/curvecalc --- a/bin/curvecalc +++ b/bin/curvecalc @@ -430,7 +430,8 @@ def launch(args, graph, session, opts, s if not times: request.setResponseCode(404) return "not hovering over any time" - with graph.currentState() as g: + with graph.currentState( + tripleFilter=(session, L9['currentSong'], None)) as g: song = g.value(session, L9['currentSong']) return json.dumps({"song": song, "hoverTime" : times[0]}) raise NotImplementedError()