Skip to content

Commit

Permalink
Merge pull request #8 from vitalyserhienko/feature-fix-for-new-aioredis
Browse files Browse the repository at this point in the history
fix for issue #5
  • Loading branch information
cr0hn committed Jun 27, 2019
2 parents b3292ac + b9f72b3 commit 7e3548d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiohttp_cache/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ async def clear(self):
if self.key_prefix:
keys = await redis.execute('KEYS', self.key_prefix + '*')
if keys:
await redis.execute('DELETE', *keys)
await redis.execute('DEL', *keys)
else:
await redis.flushdb()

Expand Down

0 comments on commit 7e3548d

Please sign in to comment.