Skip to content

Commit

Permalink
None fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic182 committed Mar 27, 2023
1 parent a1d05ba commit 482862b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onecache/cache_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class CacheValue:
"""Dummy class for handling cache values."""

def __init__(self, value: Any, expire_at: datetime = None):
self.size = NONE if IS_PYPY else getsizeof(value)
self.size = None if IS_PYPY else getsizeof(value)
self.access = 0

self.value = value
Expand Down

0 comments on commit 482862b

Please sign in to comment.