From ffde32c8f28640b87097ed52497702271a41d007 2012-06-10 00:37:02 From: Jonathan Taylor Date: 2012-06-10 00:37:02 Subject: [PATCH] last commit did not include nbconvert.py change to not reread the file -- adding now --- diff --git a/nbconvert.py b/nbconvert.py index a040273..32ffdac 100755 --- a/nbconvert.py +++ b/nbconvert.py @@ -182,7 +182,8 @@ class Converter(object): def render(self): "read, convert, and save self.infile" - self.read() + if not hasattr(self, 'nb'): + self.read() self.output = self.convert() return self.save()