diff --git a/jupyterlab/upgrade_extension.py b/jupyterlab/upgrade_extension.py index b8b0748841ae..f8b86ba2ccaa 100644 --- a/jupyterlab/upgrade_extension.py +++ b/jupyterlab/upgrade_extension.py @@ -116,7 +116,7 @@ def update_extension( # noqa # Build up the template answers and run the template engine author = data.get("author", "") - author_email = "" + author_email = "" if isinstance(author, dict): author_name = author.get("name", "") author_email = author.get("email", author_email)