Skip to content

Commit d8cf51b

Browse files
committed
Lint
1 parent 5a38b70 commit d8cf51b

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

core/migrations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import datetime
22
import re
3-
from typing import Optional, List
3+
from typing import List, Optional
44

55
from core import blocklist
66
from core.models import getLogger

core/thread.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
import asyncio
2-
import base64
32
import copy
4-
import functools
5-
import io
63
import re
74
import time
8-
import traceback
95
import typing
106
import warnings
117
from datetime import timedelta
@@ -1022,7 +1018,9 @@ async def send(
10221018
images.extend(image_urls)
10231019
images.extend(
10241020
(
1025-
i.url if i.format in (discord.StickerFormatType.png, discord.StickerFormatType.apng) else None,
1021+
i.url
1022+
if i.format in (discord.StickerFormatType.png, discord.StickerFormatType.apng)
1023+
else None,
10261024
i.name,
10271025
True,
10281026
)

0 commit comments

Comments
 (0)