##// END OF EJS Templates
Fixed None transformers error.
Jonathan Frederic -
Show More
@@ -196,6 +196,8 b' class Exporter(Configurable):'
196 ----------
196 ----------
197 transformer : transformer
197 transformer : transformer
198 """
198 """
199 if self.transformers is None:
200 self.transformers = []
199
201
200 if inspect.isfunction(transformer):
202 if inspect.isfunction(transformer):
201 self.transformers.append(transformer)
203 self.transformers.append(transformer)
General Comments 0
You need to be logged in to leave comments. Login now