🐛 修复 type hits , 兼容 py3.8

Signed-off-by: Karako <karakohear@gmail.com>
This commit is contained in:
Karako 2022-10-23 16:13:48 +08:00
parent 3f0331ed90
commit 8a4147a4ff
No known key found for this signature in database
GPG Key ID: 5920831B0095D4A0

View File

@ -9,7 +9,7 @@ import ujson as json
from arkowrapper import ArkoWrapper
from genshin import Client
from pytz import timezone
from telegram import InlineKeyboardButton, InlineKeyboardMarkup, Update, Message
from telegram import InlineKeyboardButton, InlineKeyboardMarkup, Message, Update
from telegram.constants import ChatAction, ParseMode
from telegram.ext import CallbackContext, filters
@ -198,14 +198,14 @@ class Abyss(Plugin, BasePlugin):
async def get_rendered_pic(
self, client: Client, uid: int, floor: int, total: bool, previous: bool
) -> Union[
tuple[
Tuple[
Union[BaseException, Any],
Union[BaseException, Any],
Union[BaseException, Any],
Union[BaseException, Any],
Union[BaseException, Any],
],
list[RenderResult],
List[RenderResult],
None,
]:
"""