Skip to content

Commit f5e9e2e

Browse files
committed
added path to the resources metadata, the same as in from_filename(...)
in nbconvert/exporter.py
1 parent 507509c commit f5e9e2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

notebook/nbconvert/handlers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ def get(self, format, path):
9999
"metadata": {
100100
"name": name[:name.rfind('.')],
101101
"modified_date": (model['last_modified']
102-
.strftime(text.date_format))
102+
.strftime(text.date_format)),
103+
"path" : path
103104
},
104105
"config_dir": self.application.settings['config_dir'],
105106
}

0 commit comments

Comments
 (0)