diff --git a/IPython/nbconvert/writers/files.py b/IPython/nbconvert/writers/files.py index a732bd0..51d8e9c 100644 --- a/IPython/nbconvert/writers/files.py +++ b/IPython/nbconvert/writers/files.py @@ -63,7 +63,7 @@ class FilesWriter(WriterBase): # Verify that a notebook name is provided. if notebook_name is None: - raise AttributeError('notebook_name') + raise TypeError('notebook_name') # Pull the extension and subdir from the resources dict. output_extension = resources.get('output_extension', None)