Spaces:
Running
Running
Merge branch 'main' into dependabot/pip/certifi-2024.12.14
Browse files- .pre-commit-config.yaml +1 -1
- Powers/plugins/stickers.py +1 -1
.pre-commit-config.yaml
CHANGED
@@ -24,7 +24,7 @@ repos:
|
|
24 |
args: [--py36-plus]
|
25 |
|
26 |
- repo: https://github.com/asottile/pyupgrade
|
27 |
-
rev: v3.19.
|
28 |
hooks:
|
29 |
- id: pyupgrade
|
30 |
args: [--py36-plus]
|
|
|
24 |
args: [--py36-plus]
|
25 |
|
26 |
- repo: https://github.com/asottile/pyupgrade
|
27 |
+
rev: v3.19.1
|
28 |
hooks:
|
29 |
- id: pyupgrade
|
30 |
args: [--py36-plus]
|
Powers/plugins/stickers.py
CHANGED
@@ -331,7 +331,7 @@ async def get_sticker_from_file(c: Gojo, m: Message):
|
|
331 |
if repl.sticker:
|
332 |
if repl.sticker.is_animated:
|
333 |
upp = await repl.download()
|
334 |
-
up = tgs_to_gif(upp, True)
|
335 |
await x.delete()
|
336 |
await m.reply_animation(up, caption=Caption)
|
337 |
elif repl.sticker.is_video:
|
|
|
331 |
if repl.sticker:
|
332 |
if repl.sticker.is_animated:
|
333 |
upp = await repl.download()
|
334 |
+
up = await tgs_to_gif(upp, True)
|
335 |
await x.delete()
|
336 |
await m.reply_animation(up, caption=Caption)
|
337 |
elif repl.sticker.is_video:
|