From c28489309745c03135caef639279565c5e23500b Mon Sep 17 00:00:00 2001 From: Lan Hui <1348141770@qq.com> Date: Fri, 14 Jul 2023 08:27:33 +0800 Subject: [PATCH] admin_service.py: correct typo parmas. --- app/admin_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin_service.py b/app/admin_service.py index f8f80f4..8d71f20 100644 --- a/app/admin_service.py +++ b/app/admin_service.py @@ -68,7 +68,7 @@ def article(): max(1, int(request.args.get("page", 1))), _article_number // _page_size + (_article_number % _page_size > 0) ) # 最小的page是1 except ValueError: - return "page parmas must be int!" + return "page parameters must be int!" _articles = get_page_articles(_cur_page, _page_size) _make_title_and_content(_articles)