Mercurial > code > home > repos > light9
diff bin/curvecalc @ 940:183e3afea4cc
curvecalc tripleFilter optimization
Ignore-this: be23ad34d862fe960b253f8c33d7b5fd
author | drewp@bigasterisk.com |
---|---|
date | Thu, 13 Jun 2013 00:16:42 +0000 |
parents | e7d5f008b2fa |
children | 41c6fbe95214 |
line wrap: on
line diff
--- a/bin/curvecalc Wed Jun 12 23:48:32 2013 +0000 +++ b/bin/curvecalc Thu Jun 13 00:16:42 2013 +0000 @@ -430,7 +430,8 @@ 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()