Show More
@@ -335,10 +335,13 b' class Exporter(Configurable):' | |||
|
335 | 335 | and filters. |
|
336 | 336 | """ |
|
337 | 337 | |
|
338 | ||
|
338 | # Do a deepcopy first, | |
|
339 | # we are never safe enough with what the transformers could do. | |
|
340 | nbc = deepcopy(nb) | |
|
341 | resc = deepcopy(resources) | |
|
339 | 342 | #Run each transformer on the notebook. Carry the output along |
|
340 | 343 | #to each transformer |
|
341 | 344 | for transformer in self.transformers: |
|
342 |
nb, resources = transformer(nb, res |
|
|
345 | nb, resources = transformer(nbc, resc) | |
|
343 | 346 | return nb, resources |
|
344 | 347 |
General Comments 0
You need to be logged in to leave comments.
Login now