summaryrefslogtreecommitdiff
path: root/grc/core/FlowGraph.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/core/FlowGraph.py')
-rw-r--r--grc/core/FlowGraph.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/grc/core/FlowGraph.py b/grc/core/FlowGraph.py
index 8246d86f44..18a5778015 100644
--- a/grc/core/FlowGraph.py
+++ b/grc/core/FlowGraph.py
@@ -40,17 +40,17 @@ class FlowGraph(Element):
is_flow_graph = True
- def __init__(self, platform):
+ def __init__(self, parent):
"""
Make a flow graph from the arguments.
Args:
- platform: a platforms with blocks and contrcutors
+ parent: a platforms with blocks and element factories
Returns:
the flow graph object
"""
- Element.__init__(self, parent=platform)
+ Element.__init__(self, parent)
self._timestamp = time.ctime()
self._options_block = self.parent_platform.get_new_block(self, 'options')