use 'v[0] == "c"' instead of 'v.startswith("c")'
This commit is contained in:
@@ -401,7 +401,7 @@ class DeviantartExtractor(Extractor):
|
||||
html = content["html"]
|
||||
markup = html["markup"]
|
||||
|
||||
if not markup.startswith("{"):
|
||||
if not markup or markup[0] != "{":
|
||||
return markup
|
||||
|
||||
if html["type"] == "tiptap":
|
||||
|
||||
Reference in New Issue
Block a user