From 87d5802c7ade5061baeb40758756260a9800734d Mon Sep 17 00:00:00 2001 From: Lint Action Date: Tue, 24 Jan 2023 15:06:47 +0000 Subject: =?UTF-8?q?:rotating=5Flight:=20=E8=87=AA=E5=8A=A8=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/plugins/thesaurus/__init__.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'ATRI/plugins/thesaurus/__init__.py') diff --git a/ATRI/plugins/thesaurus/__init__.py b/ATRI/plugins/thesaurus/__init__.py index f1860c9..813e9d7 100644 --- a/ATRI/plugins/thesaurus/__init__.py +++ b/ATRI/plugins/thesaurus/__init__.py @@ -709,9 +709,7 @@ async def _info_normal_get_item_info( m_type=m_type, operator=item_info.operator, operator_id=item_info.operator_id, - update_time=item_info.update_time.replace( - tzinfo=tz(timedelta(hours=8)) - ), + update_time=item_info.update_time.replace(tzinfo=tz(timedelta(hours=8))), is_vote="是" if item_info.is_vote else "否", vote_list=item_info.vote_list, ) @@ -751,9 +749,7 @@ async def _info_global_get_item_info(_id: str = ArgPlainText("info_global_item_i m_type=m_type, operator=item_info.operator, operator_id=item_info.operator_id, - update_time=item_info.update_time.replace( - tzinfo=tz(timedelta(hours=8)) - ), + update_time=item_info.update_time.replace(tzinfo=tz(timedelta(hours=8))), is_vote="是" if item_info.is_vote else "否", vote_list=item_info.vote_list, ) @@ -797,9 +793,7 @@ async def _info_vote_get_item_info( m_type=m_type, operator=item_info.operator, operator_id=item_info.operator_id, - update_time=item_info.update_time.replace( - tzinfo=tz(timedelta(hours=8)) - ), + update_time=item_info.update_time.replace(tzinfo=tz(timedelta(hours=8))), is_vote="是" if item_info.is_vote else "否", vote_list=item_info.vote_list, ) -- cgit v1.2.3