🙈 remove useless code

This commit is contained in:
yanyongyu 2021-08-25 17:17:20 +08:00
parent 7cceb4bb80
commit 35c20d28aa
2 changed files with 4 additions and 5 deletions

View File

@ -1,9 +1,9 @@
#!/bin/bash #!/usr/bin/env bash
### ###
# @Author : yanyongyu # @Author : yanyongyu
# @Date : 2021-03-25 16:22:18 # @Date : 2021-03-25 16:22:18
# @LastEditors : yanyongyu # @LastEditors : yanyongyu
# @LastEditTime : 2021-03-25 16:42:58 # @LastEditTime : 2021-08-25 17:13:38
# @Description : None # @Description : None
# @GitHub : https://github.com/yanyongyu # @GitHub : https://github.com/yanyongyu
### ###

View File

@ -4,7 +4,7 @@
@Author : yanyongyu @Author : yanyongyu
@Date : 2021-03-09 15:15:02 @Date : 2021-03-09 15:15:02
@LastEditors : yanyongyu @LastEditors : yanyongyu
@LastEditTime : 2021-08-20 23:58:58 @LastEditTime : 2021-08-25 17:16:42
@Description : None @Description : None
@GitHub : https://github.com/yanyongyu @GitHub : https://github.com/yanyongyu
""" """
@ -127,8 +127,7 @@ async def handle_short(bot: Bot, event: GroupMessageEvent, state: T_State):
img = await issue_to_image(owner, repo, issue_) img = await issue_to_image(owner, repo, issue_)
except TimeoutException: except TimeoutException:
await issue.finish(f"获取issue数据超时请尝试重试") await issue.finish(f"获取issue数据超时请尝试重试")
except Error as e: except Error:
print(repr(e))
await issue.finish(f"生成图片超时!请尝试重试") await issue.finish(f"生成图片超时!请尝试重试")
else: else:
if img: if img: