We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71e6e87 commit 048a9d2Copy full SHA for 048a9d2
core/utils.py
@@ -154,7 +154,7 @@ def is_image_url(url: str, **kwargs) -> str:
154
"""
155
try:
156
result = parse.urlparse(url)
157
- if result.netloc == 'gyazo.com' and result.scheme in ['http', 'https']:
+ if result.netloc == "gyazo.com" and result.scheme in ["http", "https"]:
158
# gyazo support
159
url = re.sub(
160
r"(https?://)((?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*(),]|%[0-9a-fA-F][0-9a-fA-F])+)",
0 commit comments