Skip to content

Commit 048a9d2

Browse files
committed
Black reformat code
1 parent 71e6e87 commit 048a9d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def is_image_url(url: str, **kwargs) -> str:
154154
"""
155155
try:
156156
result = parse.urlparse(url)
157-
if result.netloc == 'gyazo.com' and result.scheme in ['http', 'https']:
157+
if result.netloc == "gyazo.com" and result.scheme in ["http", "https"]:
158158
# gyazo support
159159
url = re.sub(
160160
r"(https?://)((?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*(),]|%[0-9a-fA-F][0-9a-fA-F])+)",

0 commit comments

Comments
 (0)