summaryrefslogtreecommitdiff
path: root/grc/gui/NotebookPage.py
diff options
context:
space:
mode:
authorSebastian Koslowski <koslowski@kit.edu>2016-02-11 22:45:55 +0100
committerSebastian Koslowski <koslowski@kit.edu>2016-02-17 19:55:17 +0100
commit7453e24321e6ca237ded87a6bbed8d645d2a6b53 (patch)
treee62d0989c9e7082768dfece98372845658dbef9f /grc/gui/NotebookPage.py
parentd905f0d803574acd158183135e113b807bd7c878 (diff)
grc-refactor: Platform.py
Diffstat (limited to 'grc/gui/NotebookPage.py')
-rw-r--r--grc/gui/NotebookPage.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/grc/gui/NotebookPage.py b/grc/gui/NotebookPage.py
index 481aca4eea..2c1fd7c3b3 100644
--- a/grc/gui/NotebookPage.py
+++ b/grc/gui/NotebookPage.py
@@ -95,10 +95,8 @@ class NotebookPage(gtk.HBox):
Returns:
generator
"""
- return self.get_flow_graph().get_parent().get_generator()(
- self.get_flow_graph(),
- self.get_file_path(),
- )
+ platform = self.get_flow_graph().get_parent()
+ return platform.Generator(self.get_flow_graph(), self.get_file_path())
def _handle_button(self, button):
"""