summaryrefslogtreecommitdiff
path: root/grc/base/Platform.py
diff options
context:
space:
mode:
authorTom Rondeau2012-10-01 17:37:35 -0400
committerTom Rondeau2012-10-01 17:37:35 -0400
commitb31ea99bf07cb66f1dab3cea94f9f792f6cab2fc (patch)
tree452329e4e262b2da3b690d12493f1b44c8d84160 /grc/base/Platform.py
parent21b39825df56f0353f6f9e60f06c1ded38f9df81 (diff)
parent65ea256f8de15b7a23c602f9775edf0636b3732c (diff)
downloadgnuradio-b31ea99bf07cb66f1dab3cea94f9f792f6cab2fc.tar.gz
gnuradio-b31ea99bf07cb66f1dab3cea94f9f792f6cab2fc.tar.bz2
gnuradio-b31ea99bf07cb66f1dab3cea94f9f792f6cab2fc.zip
Merge branch 'master' of gnuradio.org:gnuradio
Diffstat (limited to 'grc/base/Platform.py')
-rw-r--r--grc/base/Platform.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/grc/base/Platform.py b/grc/base/Platform.py
index 94d0077ea..d4b09088b 100644
--- a/grc/base/Platform.py
+++ b/grc/base/Platform.py
@@ -61,6 +61,10 @@ class Platform(_Element):
#create a dummy flow graph for the blocks
self._flow_graph = _Element(self)
#search for *.xml files in the given search path
+
+ self.loadblocks();
+
+ def loadblocks(self):
xml_files = list()
for block_path in self._block_paths:
if os.path.isfile(block_path): xml_files.append(block_path)