From 0b7ad2d75b0693fed62212222adefeba38f487b7 Mon Sep 17 00:00:00 2001 From: alban Date: Tue, 13 Oct 2020 22:00:50 +0200 Subject: [PATCH] [fix] clitools filters kaleidoscop should not send empty points lists --- clitools/filters/kaleidoscope.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clitools/filters/kaleidoscope.py b/clitools/filters/kaleidoscope.py index 5ca4396..8f874b3 100755 --- a/clitools/filters/kaleidoscope.py +++ b/clitools/filters/kaleidoscope.py @@ -162,8 +162,7 @@ try: pointsList = ast.literal_eval(line) # Do the filter result = kaleidoscope( pointsList ) - print( result, flush=True ) - + if len(result) : print( result, flush=True ) looptime = time.time() - start # debug(name+" looptime:"+str(looptime)) if( looptime < optimal_looptime ):