forked from protonphoton/LJ
Update 'clitools/exports/toRedis.py'
This commit is contained in:
parent
e3b1b255a3
commit
18aaa1b625
1
clitools/exports/toRedis.py
Executable file → Normal file
1
clitools/exports/toRedis.py
Executable file → Normal file
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user