Changeset - 183e3afea4cc
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 12 years ago 2013-06-13 00:16:42
drewp@bigasterisk.com
curvecalc tripleFilter optimization
Ignore-this: be23ad34d862fe960b253f8c33d7b5fd
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/curvecalc
Show inline comments
 
@@ -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()
0 comments (0 inline, 0 general)