Skip to content

Commit

Permalink
Address style complaints
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 8, 2017
1 parent 4ca4410 commit bd4fb57
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nikola/plugins/compile/ipynb.py
Expand Up @@ -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):
Expand Down

0 comments on commit bd4fb57

Please sign in to comment.