call open_model must be done by web.py and main.py by themself

This commit is contained in:
norohind committed 2021-11-28 17:11:47 +03:00
1 parent d30bc56c9e
commit 3757cc1b07
3 files changed
+4 -1

No files matched your search

+2
View File
@@ -10,6 +10,8 @@ Request /activity/cqc?platform=pc[&limit=50&after=&before]
"""
model.open_model()
class Activity:
def on_get(self, req: falcon.request.Request, resp: falcon.response.Response, leaderboard: str, platform: str)\