Skip to content

Commit f29c61c

Browse files
author
Paul Jennings
committed
Fixed key used when retrieving cached data.
1 parent 9a66e16 commit f29c61c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TStat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def _get(self, key, raw=False):
208208
if newest is not None:
209209
# At least one valid entry was found in the cache
210210
l.debug("Using cached entry")
211-
response = self.cache[newest[0]].data[newest[1]]
211+
response = self.cache[newest[0]].data
212212
else:
213213
for getter in entry.getters:
214214
# Either data was not cached or cache was expired

0 commit comments

Comments
 (0)