diff options
author | Lint Action <[email protected]> | 2023-03-07 07:49:31 +0000 |
---|---|---|
committer | Lint Action <[email protected]> | 2023-03-07 07:49:31 +0000 |
commit | 9ef2d05908e898154ec88334c17f3dd2c5e92bf6 (patch) | |
tree | 100b22d44357a12c0f4d61aee9dcda6c25d50ea8 | |
parent | 352c7d5b42ad432a8ed4bc7939636da62703e982 (diff) | |
download | ATRI-9ef2d05908e898154ec88334c17f3dd2c5e92bf6.tar.gz ATRI-9ef2d05908e898154ec88334c17f3dd2c5e92bf6.tar.bz2 ATRI-9ef2d05908e898154ec88334c17f3dd2c5e92bf6.zip |
:rotating_light: 自动进行代码格式化
-rw-r--r-- | ATRI/plugins/setu/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ATRI/plugins/setu/__init__.py b/ATRI/plugins/setu/__init__.py index 6f491bd..d4eb419 100644 --- a/ATRI/plugins/setu/__init__.py +++ b/ATRI/plugins/setu/__init__.py @@ -99,7 +99,9 @@ async def _setu_catcher(bot: Bot, event: MessageEvent): hso = list() for i in args: try: - data = await Setu(i).detecter(_catcher_max_file_size, _catcher_disab_gif) + data = await Setu(i).detecter( + _catcher_max_file_size, _catcher_disab_gif + ) except Exception: return if data > 0.7: |