Commits

Sylvain Hellegouarch committed a7be6b0

typo

Comments (0)

Files changed (1)

cherrypy/lib/cpstats.py

         logging.statistics.get(namespace, {})['Enabled'] = False
         raise cherrypy.HTTPRedirect('./')
     pause.exposed = True
-    pause.cp_config = ('tools.allow.on': True,
+    pause.cp_config = {'tools.allow.on': True,
                        'tools.allow.methods': ['POST']}
     
     def resume(self, namespace):
         logging.statistics.get(namespace, {})['Enabled'] = True
         raise cherrypy.HTTPRedirect('./')
     resume.exposed = True
-    resume.cp_config = ('tools.allow.on': True,
+    resume.cp_config = {'tools.allow.on': True,
                         'tools.allow.methods': ['POST']}