diff options
author | linwei <zlinwei@zlinwei.com> | 2018-11-17 16:39:34 +0800 |
---|---|---|
committer | Marcus Müller <marcus.mueller@ettus.com> | 2018-11-17 20:23:48 +0100 |
commit | 97dcfb7990c5dce593aca9b30a993a9bd02a5d18 (patch) | |
tree | 0d94b64f9b6a046aba3f29daf984e6b01382cd7a | |
parent | 9a13da0fc9a6118a8e4c904ec5b0f7a26e876685 (diff) |
GRC: FG converter erroneously used "is_digit" instead of "isdigit"
-rw-r--r-- | grc/converter/flow_graph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/converter/flow_graph.py b/grc/converter/flow_graph.py index 1d013b2f19..679840edaf 100644 --- a/grc/converter/flow_graph.py +++ b/grc/converter/flow_graph.py @@ -123,7 +123,7 @@ def _guess_file_format_1(data): """Try to guess the file format for flow-graph files without version tag""" def has_numeric_port_ids(src_id, src_port_id, snk_id, snk_port_id): - return src_port_id.isdigit() and snk_port_id.is_digit() + return src_port_id.isdigit() and snk_port_id.isdigit() try: if any(not has_numeric_port_ids(*con) for con in data['connections']): |