0
0
Fork 0

admin_service.py: correct typo parmas.

Bug-561
Lan Hui 2023-07-14 08:27:33 +08:00
parent 87fd594636
commit c284893097
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ def article():
max(1, int(request.args.get("page", 1))), _article_number // _page_size + (_article_number % _page_size > 0) max(1, int(request.args.get("page", 1))), _article_number // _page_size + (_article_number % _page_size > 0)
) # 最小的page是1 ) # 最小的page是1
except ValueError: except ValueError:
return "page parmas must be int!" return "page parameters must be int!"
_articles = get_page_articles(_cur_page, _page_size) _articles = get_page_articles(_cur_page, _page_size)
_make_title_and_content(_articles) _make_title_and_content(_articles)