diff bin/effecteval @ 1926:1a7e5b07bf17

use my greplin fork's stats/ code instead of an old local one Ignore-this: f0935bd61f0b982e544c1991e14fb51e
author Drew Perttula <drewp@bigasterisk.com>
date Sun, 02 Jun 2019 00:05:12 +0000
parents d01e21621975
children c81f86f3d65a
line wrap: on
line diff
--- a/bin/effecteval	Sat Jun 01 23:46:34 2019 +0000
+++ b/bin/effecteval	Sun Jun 02 00:05:12 2019 +0000
@@ -13,7 +13,7 @@
 from light9.effecteval.effect import EffectNode
 from light9.effect.edit import getMusicStatus, songNotePatch
 from light9.effecteval.effectloop import makeEffectLoop
-from light9.greplin_cyclone import StatsForCyclone
+from greplin.scales.cyclonehandler import StatsHandler
 from light9.namespaces import L9
 from rdfdb.patch import Patch
 from rdfdb.syncedgraph import SyncedGraph
@@ -251,7 +251,9 @@
             (r'/effect/eval', EffectEval),
             (r'/songEffects', SongEffects),
             (r'/songEffects/eval', SongEffectsEval),
-            (r'/stats', StatsForCyclone),
+            (r'/stats/(.*)', StatsHandler, {
+                'serverName': 'effecteval'
+            }),
         ],
                                                   debug=True,
                                                   graph=self.graph,