dictvaluesfix

This commit is contained in:
tonyrewin 2022-08-30 10:00:07 +03:00
parent 728e26d2cf
commit 1f40e55f83

View File

@ -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):