From 2a72e8927142436d7e55b60b25d8ae2cfe41b8b8 Mon Sep 17 00:00:00 2001 From: Joe Scott <17139430+thisiswhereitype@users.noreply.github.com> Date: Wed, 15 May 2024 20:42:20 +0100 Subject: [PATCH] Re-added dropped line --- nbconvert/nbconvertapp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nbconvert/nbconvertapp.py b/nbconvert/nbconvertapp.py index 7f5b4ba36..cee32410f 100755 --- a/nbconvert/nbconvertapp.py +++ b/nbconvert/nbconvertapp.py @@ -605,6 +605,7 @@ def convert_notebooks(self): "Please specify an output format with '--to '." f"\nThe following formats are available: {get_export_names()}" ) + raise ValueError(msg) # initialize the exporter cls = get_exporter(self.export_format)