Skip to content

Commit

Permalink
Fixed reassignment bug
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Feb 20, 2019
1 parent f73f813 commit 151b933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbsite/gallery/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ def generate_gallery(app, page):
section_backends = section.get('backends', backends)
skip = section.get('skip', content.get('skip', False))
heading = section.get('title', section['path'])
section = section['path']
subsection_order = section.get('within_subsection_order', sort_fn)
section = section['path']
else:
heading = section.title()
skip = content.get('skip', False)
Expand Down

0 comments on commit 151b933

Please sign in to comment.