diff --git a/scripts/backup_redis.sh b/scripts/backup_redis.sh index 8442a20..878a2f0 100644 --- a/scripts/backup_redis.sh +++ b/scripts/backup_redis.sh @@ -1,9 +1,9 @@ -#!/bin/bash +#!/usr/bin/env bash ### # @Author : yanyongyu # @Date : 2021-03-25 16:22:18 # @LastEditors : yanyongyu -# @LastEditTime : 2021-03-25 16:42:58 +# @LastEditTime : 2021-08-25 17:13:38 # @Description : None # @GitHub : https://github.com/yanyongyu ### diff --git a/src/plugins/github/plugins/github_issue/__init__.py b/src/plugins/github/plugins/github_issue/__init__.py index 7ce53e4..496f49b 100644 --- a/src/plugins/github/plugins/github_issue/__init__.py +++ b/src/plugins/github/plugins/github_issue/__init__.py @@ -4,7 +4,7 @@ @Author : yanyongyu @Date : 2021-03-09 15:15:02 @LastEditors : yanyongyu -@LastEditTime : 2021-08-20 23:58:58 +@LastEditTime : 2021-08-25 17:16:42 @Description : None @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_) except TimeoutException: await issue.finish(f"获取issue数据超时!请尝试重试") - except Error as e: - print(repr(e)) + except Error: await issue.finish(f"生成图片超时!请尝试重试") else: if img: