summaryrefslogtreecommitdiff
path: root/grc/src/platforms
diff options
context:
space:
mode:
Diffstat (limited to 'grc/src/platforms')
-rw-r--r--grc/src/platforms/python/Port.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/src/platforms/python/Port.py b/grc/src/platforms/python/Port.py
index 73ec07242..109eecb62 100644
--- a/grc/src/platforms/python/Port.py
+++ b/grc/src/platforms/python/Port.py
@@ -50,7 +50,7 @@ class Port(_Port):
_Port.validate(self)
try: assert(self.get_enabled_connections() or self.get_optional())
except AssertionError: self._add_error_message('Port is not connected.')
- try: assert(self.is_source() or len(self.get_enabled_connections()) == 1)
+ try: assert(self.is_source() or len(self.get_enabled_connections()) <= 1)
except AssertionError: self._add_error_message('Port has too many connections.')
def get_vlen(self):