From d689a874f8b77b277c4532c918916126ec2817f1 Mon Sep 17 00:00:00 2001 From: alban Date: Sun, 27 Sep 2020 22:51:36 +0200 Subject: [PATCH] [fix] the dummy generator should return lists --- clitools/generators/dummy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clitools/generators/dummy.py b/clitools/generators/dummy.py index ef621c6..d827ff3 100644 --- a/clitools/generators/dummy.py +++ b/clitools/generators/dummy.py @@ -42,7 +42,7 @@ debug(name+" optimal looptime "+str(optimal_looptime)) while True: start = time.time() #print("[(100.0, 100.0, 65280), (100.0, 500.0, 65280), (500.0, 500.0, 65280), (500.0, 100.0, 65280), (100.0, 100.0, 65280)]", flush=True); - print("[(100.0, 100.0, 65280), (110.0, 500.0, 65280), (510.0, 500.0, 65280), (510.0, 100.0, 65280), (100.0, 110.0, 65280)]", flush=True); + print("[[100.0, 100.0, 65280], [110.0, 500.0, 65280], [510.0, 500.0, 65280], [510.0, 100.0, 65280], [100.0, 110.0, 65280]]", flush=True); looptime = time.time() - start if( looptime < optimal_looptime ): time.sleep( optimal_looptime - looptime)