diff options
author | Josh Morman <jmorman@gnuradio.org> | 2021-12-27 13:16:21 -0500 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2022-01-06 06:22:13 -0500 |
commit | ad843023c65dc35aed73b7a4e4a78afbc7347f5d (patch) | |
tree | 8e5d17fca4bb7f004ab24e834a57a6f31015ea32 /grc/core | |
parent | 09e1a31cd69d50cc44c878628d1213824df2b65e (diff) |
grc: don't blacklist default fg id
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
Diffstat (limited to 'grc/core')
-rw-r--r-- | grc/core/Constants.py | 1 | ||||
-rw-r--r-- | grc/core/params/dtypes.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/grc/core/Constants.py b/grc/core/Constants.py index 93adec26be..3421d05331 100644 --- a/grc/core/Constants.py +++ b/grc/core/Constants.py @@ -20,6 +20,7 @@ DATA_DIR = os.path.dirname(__file__) BLOCK_DTD = os.path.join(DATA_DIR, 'block.dtd') DEFAULT_FLOW_GRAPH = os.path.join(DATA_DIR, 'default_flow_graph.grc') DEFAULT_HIER_BLOCK_LIB_DIR = os.path.expanduser('~/.grc_gnuradio') +DEFAULT_FLOW_GRAPH_ID = 'default' CACHE_FILE = os.path.expanduser('~/.cache/grc_gnuradio/cache_v2.json') diff --git a/grc/core/params/dtypes.py b/grc/core/params/dtypes.py index a582bcae85..2d4b237aa4 100644 --- a/grc/core/params/dtypes.py +++ b/grc/core/params/dtypes.py @@ -13,7 +13,7 @@ from .. import Constants # Blacklist certain ids, its not complete, but should help -ID_BLACKLIST = ['self', 'default'] + dir(builtins) +ID_BLACKLIST = ['self'] + dir(builtins) try: from gnuradio import gr ID_BLACKLIST.extend(attr for attr in dir( |