diff options
author | Kyomotoi <[email protected]> | 2023-01-26 21:26:45 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2023-01-26 21:26:45 +0800 |
commit | f23c603bf92f8c2bbd15bef441048d18382f351d (patch) | |
tree | 40aa42e80fdf27197adb94ac24527a78d6c958e8 /ATRI/plugins/thesaurus/__init__.py | |
parent | c2e02c53300b5c4e7e4aa265905fc3ae5e892f0f (diff) | |
parent | 87d5802c7ade5061baeb40758756260a9800734d (diff) | |
download | ATRI-f23c603bf92f8c2bbd15bef441048d18382f351d.tar.gz ATRI-f23c603bf92f8c2bbd15bef441048d18382f351d.tar.bz2 ATRI-f23c603bf92f8c2bbd15bef441048d18382f351d.zip |
Merge branch 'main' of https://github.com/Kyomotoi/ATRI
Diffstat (limited to 'ATRI/plugins/thesaurus/__init__.py')
-rw-r--r-- | ATRI/plugins/thesaurus/__init__.py | 12 |
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, ) |