Skip to content

Commit

Permalink
Merge pull request #1185 from martinRenou/fix_infinite_loop
Browse files Browse the repository at this point in the history
Fix inifinite  loop in property access
  • Loading branch information
martinRenou authored Aug 11, 2022
2 parents 8c56630 + 8bb454f commit 68ec2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion voila/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ async def generate_from_notebook_node(self, nb, resources=None, extra_context={}
def environment(self):
# enable Jinja async template execution
self.enable_async = True
env = super(type(self), self).environment
env = super().environment
if 'jinja2.ext.do' not in env.extensions:
env.add_extension('jinja2.ext.do')
return env
Expand Down

0 comments on commit 68ec2e9

Please sign in to comment.