Skip to content

Commit

Permalink
Fix: pairs may not support len (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhu authored and Dreamsorcerer committed Jun 14, 2023
1 parent b9f66e2 commit 37ce464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiocache/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ async def multi_set(self, pairs, ttl=SENTINEL, dumps_fn=None, namespace=None, _c
logger.debug(
"MULTI_SET %s %d (%.4f)s",
[key for key, value in tmp_pairs],
len(pairs),
len(tmp_pairs),
time.monotonic() - start,
)
return True
Expand Down

0 comments on commit 37ce464

Please sign in to comment.