Skip to content

Commit

Permalink
Fix black formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
YPCrumble committed Sep 26, 2023
1 parent f40a218 commit 50d2836
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fancy_cache/memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ def find_urls(
remembered_urls = cache.get(REMEMBERED_URLS_KEY, {})
if COMPRESS_REMEMBERED_URLS:
if not isinstance(remembered_urls, dict):
remembered_urls = json.loads(zlib.decompress(remembered_urls).decode())
remembered_urls = json.loads(
zlib.decompress(remembered_urls).decode()
)
keys_to_delete = []
if urls:
regexes = _urls_to_regexes(urls)
Expand Down

0 comments on commit 50d2836

Please sign in to comment.