summaryrefslogtreecommitdiff
path: root/ATRI/plugins/thesaurus
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI/plugins/thesaurus')
-rw-r--r--ATRI/plugins/thesaurus/__init__.py12
1 files changed, 3 insertions, 9 deletions
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,
)