diff --git a/beakerx/beakerx/handlers.py b/beakerx/beakerx/handlers.py index f26508ab27..5cd22429e0 100644 --- a/beakerx/beakerx/handlers.py +++ b/beakerx/beakerx/handlers.py @@ -38,7 +38,7 @@ def post(self): content = json.dumps(data) params = json.loads(content) - type = params['type'] + type = params.get('type') url = params['url'] if type == "python": self.handle_python(content, url)