From 18aaa1b62501f44c67af6b39de91513f26c2b206 Mon Sep 17 00:00:00 2001 From: alban Date: Tue, 13 Oct 2020 19:54:06 +0000 Subject: [PATCH] Update 'clitools/exports/toRedis.py' --- clitools/exports/toRedis.py | 1 + 1 file changed, 1 insertion(+) mode change 100755 => 100644 clitools/exports/toRedis.py diff --git a/clitools/exports/toRedis.py b/clitools/exports/toRedis.py old mode 100755 new mode 100644 index 9164694..626991a --- a/clitools/exports/toRedis.py +++ b/clitools/exports/toRedis.py @@ -53,6 +53,7 @@ try: line = line.replace("]",')') line = "[{}]".format(line) if line == "[]": + line="[(400.0,400.0,0),(400.0,400.0,0),(400.0,400.0,0),(400.0,400.0,0)]" continue if r.set(key,line)==True: debug("exports::redis set("+str(key)+") to "+line)