]> jspc29.x-matter.uni-frankfurt.de Git - mvd_epics.git/commitdiff
DASH: rename function for /api/values.json
authorPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Thu, 24 Aug 2017 09:38:35 +0000 (11:38 +0200)
committerPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Thu, 24 Aug 2017 09:38:35 +0000 (11:38 +0200)
python_suite/dashboard/dashboard.py

index 1420280cd4466c05d8c0110f9ab788bf064c451f..d1b8c9442b5825806eadfd8c511669f342d6ec4d 100755 (executable)
@@ -111,7 +111,7 @@ def gview(name):
     return {'config': CONFIG, 'svg': name}
 
 @route('/api/values.json')
-def index():
+def api_values():
     return CONFIG
 
 @route('/api/history/<name>.json')