Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix zadd: Update the syntax according to the new directives
  • Loading branch information
[email protected] committed Mar 7, 2025
commit f8ff0d75b06a6f97a6cdb58b8cfba9d79b15d48b
2 changes: 1 addition & 1 deletion redisdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def _writer(r, p, key, type, value, ttl, expireat, use_expireat):
p.sadd(key, element)
elif type == 'zset':
for element, score in value:
p.zadd(key, element, score)
p.zadd(key, {element: score})
elif type == 'hash':
p.hmset(key, value)
else:
Expand Down