From a579694431aa13895fa99ffada85ce6ad5465416 2013-07-23 06:15:34 From: Jonathan Frederic Date: 2013-07-23 06:15:34 Subject: [PATCH] FilesWriter now reads key instead of --- diff --git a/IPython/nbconvert/writers/files.py b/IPython/nbconvert/writers/files.py index 58ab601..9ff499c 100644 --- a/IPython/nbconvert/writers/files.py +++ b/IPython/nbconvert/writers/files.py @@ -63,7 +63,7 @@ class FilesWriter(WriterBase): # Write all of the extracted resources to the destination directory. # NOTE: WE WRITE EVERYTHING AS-IF IT'S BINARY. THE EXTRACT FIG # TRANSFORMER SHOULD HANDLE UNIX/WINDOWS LINE ENDINGS... - for filename, data in resources.get('figures', {}).items(): + for filename, data in resources.get('outputs', {}).items(): # Determine where to write the file to dest = os.path.join(self.build_directory, filename)