summaryrefslogtreecommitdiff
path: root/grc/core/Connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/core/Connection.py')
-rw-r--r--grc/core/Connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/Connection.py b/grc/core/Connection.py
index e79ffe14e4..b1c7196e3d 100644
--- a/grc/core/Connection.py
+++ b/grc/core/Connection.py
@@ -94,7 +94,7 @@ class Connection(Element):
source_dtype = self.source_port.dtype
sink_dtype = self.sink_port.dtype
if source_dtype != sink_dtype and source_dtype not in ALIASES_OF.get(
- sink_dtype, default=set()
+ sink_dtype, set()
):
self.add_error_message('Source IO type "{}" does not match sink IO type "{}".'.format(source_dtype, sink_dtype))