Skip to content

Commit 2f88a04

Browse files
style: auto fix by pre-commit hooks
1 parent 9f501b8 commit 2f88a04

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ _✨ [Nonebot2](https://github.com/nonebot/nonebot2) 表情包制作插件 ✨_
3333
> 本插件自 v0.8.0 版本起使用 rust 版 [meme-generator-rs](https://github.com/MemeCrafters/meme-generator-rs)
3434
>
3535
> 之前的版本使用 python 版 [meme-generator](https://github.com/MemeCrafters/meme-generator)
36-
>
36+
>
3737
> 配置方式等有所区别,请注意区分!!!
3838
3939
> [!NOTE]
@@ -48,6 +48,7 @@ _✨ [Nonebot2](https://github.com/nonebot/nonebot2) 表情包制作插件 ✨_
4848
> - Linux 下字体异常
4949
>
5050
> 设置 locate 为英文:
51+
>
5152
> ```
5253
> export LANG=en_US.UTF-8
5354
> ```
@@ -308,6 +309,7 @@ memes_multiple_image_config='
308309
插件附带了简单图片操作功能,发送 “图片操作” 查看帮助
309310
310311
可用的指令有:
312+
311313
- 水平翻转/左翻/右翻
312314
- 竖直翻转/上翻/下翻
313315
- 旋转 + 角度

nonebot_plugin_memes/matchers/image_operations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ async def _(matcher: Matcher):
194194
await matcher.finish(
195195
"简单图片操作,支持的操作:\n"
196196
+ "\n".join(
197-
f"{i+1}{'/'.join(command.keywords)}" for i, command in enumerate(commands)
197+
f"{i + 1}{'/'.join(command.keywords)}"
198+
for i, command in enumerate(commands)
198199
)
199200
)
200201

0 commit comments

Comments
 (0)