Skip to content

Commit

Permalink
Give access to current nengo_gui.Page
Browse files Browse the repository at this point in the history
  • Loading branch information
tcstewar committed Apr 27, 2018
1 parent cd95178 commit ffb2189
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nengo_gui/page.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ def execute(self, code):
code_locals = {}
code_locals['nengo_gui'] = nengo_gui
code_locals['__file__'] = self.filename
code_locals['__page__'] = self

self.code = code
self.error = None
Expand Down

0 comments on commit ffb2189

Please sign in to comment.