##// END OF EJS Templates
Only set name if it doesn't exist!
Jonathan Frederic -
Show More
@@ -371,8 +371,8 b' class Exporter(Configurable):'
371 resources['metadata'] = ResourcesDict(resources['metadata'])
371 resources['metadata'] = ResourcesDict(resources['metadata'])
372 else:
372 else:
373 resources['metadata'] = ResourcesDict()
373 resources['metadata'] = ResourcesDict()
374 resources['metadata']['name'] = 'Notebook'
374 if not resources['metadata']['name']:
375 resources['metadata']['modified_date'] = ''
375 resources['metadata']['name']: = 'Notebook'
376
376
377 #Set the output extension
377 #Set the output extension
378 resources['output_extension'] = self.file_extension
378 resources['output_extension'] = self.file_extension
General Comments 0
You need to be logged in to leave comments. Login now