diff options
Diffstat (limited to 'grc/core/Platform.py')
-rw-r--r-- | grc/core/Platform.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/grc/core/Platform.py b/grc/core/Platform.py index 4c1e6f471a..5bcf79c4b2 100644 --- a/grc/core/Platform.py +++ b/grc/core/Platform.py @@ -113,6 +113,8 @@ class Platform(Element): flow_graph.validate() if not flow_graph.is_valid(): raise Exception('Flowgraph invalid') + if not flow_graph.get_option('generate_options').startswith('hb'): + raise Exception('Not a hier block') except Exception as e: Messages.send('>>> Load Error: {}: {}\n'.format(file_path, str(e))) return False |