This commit is contained in:
2022-07-21 19:15:05 +03:00
parent 368b7e6c5a
commit 364fdd1cd6
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ class TopicStat:
return self.shouts_by_topic.get(topic, [])
@staticmethod
async def get_stat(topic) -> Dict:
async def get_stat(topic):
self = TopicStat
async with self.lock:
shouts = self.shouts_by_topic.get(topic, [])