Skip to content
Permalink
Browse files

Address style complaints

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 8, 2017
1 parent 4ca4410 commit bd4fb57802ea39e1c03896babba47d334ab382e4
Showing with 3 additions and 2 deletions.
  1. +3 −2 nikola/plugins/compile/ipynb.py
@@ -83,10 +83,11 @@ def _compile_string(self, nb_json):
req_missing(['ipython[notebook]>=2.0.0'], 'build this site (compile ipynb)')
c = Config(self.site.config['IPYNB_CONFIG'])
exportHtml = HTMLExporter(config=c)
(body, resources) = exportHtml.from_notebook_node(nb_json)
body, _ = exportHtml.from_notebook_node(nb_json)
return body

def _nbformat_read(self, in_file):
@staticmethod
def _nbformat_read(in_file):
return nbformat.read(in_file, current_nbformat)

def compile_string(self, data, source_path=None, is_two_file=True, post=None, lang=None):

0 comments on commit bd4fb57

Please sign in to comment.
You can’t perform that action at this time.