diff --git a/clitools/exports/toRedis.py b/clitools/exports/toRedis.py index b98f2eb..9164694 100755 --- a/clitools/exports/toRedis.py +++ b/clitools/exports/toRedis.py @@ -52,6 +52,8 @@ try: line = line.replace("[",'(') line = line.replace("]",')') line = "[{}]".format(line) + if line == "[]": + continue if r.set(key,line)==True: debug("exports::redis set("+str(key)+") to "+line) except EOFError: