From a1ba5f59a8a41b52b023c9b363854a29f178c02f Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 19 Jul 2018 17:21:01 -0400 Subject: [PATCH] Fix collective show on non-collective --- confluent_server/confluent/collective/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/collective/manager.py b/confluent_server/confluent/collective/manager.py index 99245d19..1af0af88 100644 --- a/confluent_server/confluent/collective/manager.py +++ b/confluent_server/confluent/collective/manager.py @@ -178,7 +178,7 @@ def handle_connection(connection, cert, request, local=False): return if 'show' == operation: - if list(cfm.list_collective()) == 0: + if not list(cfm.list_collective()): tlvdata.send(connection, {'collective': {'error': 'Collective mode not ' 'enabled on this '