mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-05 03:00:15 -04:00
I can do basic arithmetic, I promise
This commit is contained in:
@@ -101,7 +101,7 @@ class CachedResults(object):
|
||||
self.data.insert(0, t)
|
||||
else:
|
||||
self.data.append(t)
|
||||
self.data.sort(key=lambda x: x[1:])
|
||||
self.data.sort(key=lambda x: x[1:], reverse=True)
|
||||
query_cache.set(self.iden, self.data[:precompute_limit])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user