Suren A. Chilingaryan hace 4 años
padre
commit
8182d1ccdc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      core.py

+ 1 - 1
core.py

@@ -566,7 +566,7 @@ application = tornado.web.Application([
     (r"/"+config['title'].lower()+"/save/?", SaveHandler),
     (r"/"+config['title'].lower()+"/update/?", UpdateHandler),
     (r"/"+config['title'].lower()+"/getdata/?", GetDataHandler),
-    (r"/"+config['title'].lower()+"/timer/(?P<duration>[^\/]+)/?",
+    (r"/"+config['title'].lower()+"/timer/(?P<duration>[^\/]+)/?", SetTimerHandler),
     (r"/add/(?P<db_server>[^\/]+)/?" "(?P<db_name>[^\/]+)/?(?P<db_group>[^\/]+)/?(?P<sensor_name>[^\/]+)?", AdeiKatrinHandler)
 ], debug=True, static_path=os.path.join(root, 'static'),
     js_path=os.path.join(root, 'js'), login_url="/auth/login",