dictvaluesfix
This commit is contained in:
parent
728e26d2cf
commit
1f40e55f83
|
@ -32,7 +32,7 @@ class TopicStorage:
|
||||||
start = end - size
|
start = end - size
|
||||||
self = TopicStorage
|
self = TopicStorage
|
||||||
async with self.lock:
|
async with self.lock:
|
||||||
return self.topics.values()[start:end]
|
return list(self.topics.values())[start:end]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
async def get_topics_by_slugs(slugs):
|
async def get_topics_by_slugs(slugs):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user