Commit 3629e802 authored by 张彦钊's avatar 张彦钊

change test file

parent 9bdde766
...@@ -85,7 +85,6 @@ def tractate_write(device_id, cid): ...@@ -85,7 +85,6 @@ def tractate_write(device_id, cid):
if r.exists(key): if r.exists(key):
value = json.loads(r.get(key).decode('utf-8')) value = json.loads(r.get(key).decode('utf-8'))
value.extend(cids) value.extend(cids)
value = json.loads(list(set(value)))
cids = json.dumps(value) cids = json.dumps(value)
r.set(key, cids) r.set(key, cids)
print("cunza") print("cunza")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment