Skip to content
This repository was archived by the owner on Dec 28, 2017. It is now read-only.

Commit f3203da

Browse files
author
Greg Taylor
committed
Completing removal of redundant code in cached_dynamodb backend.
1 parent ff548ea commit f3203da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dynamodb_sessions/backends/cached_dynamodb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def __init__(self, session_key=None):
1818

1919
@property
2020
def cache_key(self):
21-
return KEY_PREFIX + self._get_or_create_session_key()
21+
return KEY_PREFIX + self.session_key
2222

2323
def load(self):
2424
data = cache.get(self.cache_key, None)

0 commit comments

Comments
 (0)