Show More
@@ -198,7 +198,9 b' class Exporter(Configurable):' | |||||
198 | """ |
|
198 | """ | |
199 |
|
199 | |||
200 | #Pull the metadata from the filesystem. |
|
200 | #Pull the metadata from the filesystem. | |
201 |
if |
|
201 | if resources is None: | |
|
202 | resources = ResourcesDict() | |||
|
203 | if not 'metadata' in resources or resources['metadata'] == '': | |||
202 | resources['metadata'] = ResourcesDict() |
|
204 | resources['metadata'] = ResourcesDict() | |
203 | basename = os.path.basename(filename) |
|
205 | basename = os.path.basename(filename) | |
204 | notebook_name = basename[:basename.rfind('.')] |
|
206 | notebook_name = basename[:basename.rfind('.')] |
General Comments 0
You need to be logged in to leave comments.
Login now