From 1f6a3700a22cc798ec52a9c28fd87a75ce7819f7 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Thu, 24 Sep 2015 16:04:49 -0500 Subject: [PATCH] Fix signature --- notebook/services/api/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/services/api/handlers.py b/notebook/services/api/handlers.py index e89e74d38..4600d6d41 100644 --- a/notebook/services/api/handlers.py +++ b/notebook/services/api/handlers.py @@ -19,7 +19,7 @@ class APIHandler(web.StaticFileHandler, IPythonHandler): return web.StaticFileHandler.get(self, 'api.yaml') @web.authenticated - def options(self, section_name): + def options(self, *args, **kwargs): self.set_header('Access-Control-Allow-Headers', 'accept, content-type') self.set_header('Access-Control-Allow-Methods', 'GET, PUT, POST, PATCH, DELETE, OPTIONS')