From 1f40e55f8365a88843c09b1ea30d2e8c5b8af34b Mon Sep 17 00:00:00 2001 From: tonyrewin Date: Tue, 30 Aug 2022 10:00:07 +0300 Subject: [PATCH] dictvaluesfix --- services/zine/topics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/zine/topics.py b/services/zine/topics.py index 6815ef68..f77eb458 100644 --- a/services/zine/topics.py +++ b/services/zine/topics.py @@ -32,7 +32,7 @@ class TopicStorage: start = end - size self = TopicStorage async with self.lock: - return self.topics.values()[start:end] + return list(self.topics.values())[start:end] @staticmethod async def get_topics_by_slugs(slugs):