summaryrefslogtreecommitdiff
path: root/grc/core/Platform.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/core/Platform.py')
-rw-r--r--grc/core/Platform.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/grc/core/Platform.py b/grc/core/Platform.py
index 9b25e67d65..557ceba6df 100644
--- a/grc/core/Platform.py
+++ b/grc/core/Platform.py
@@ -61,7 +61,8 @@ class Platform(Element):
)
self._block_dtd = Constants.BLOCK_DTD
- self._default_flow_graph = Constants.DEFAULT_FLOW_GRAPH
+ self._default_flow_graph = Constants.USER_DEFAULT_FLOW_GRAPH if \
+ os.path.exists(Constants.USER_DEFAULT_FLOW_GRAPH) else Constants.DEFAULT_FLOW_GRAPH
# Create a dummy flow graph for the blocks
self._flow_graph = Element(self)