forked from rDrama/rDrama
fix this https://watchpeopledie.tv/h/meta/post/61549/megathread-for-bugs-and-suggestions/3540278#context
parent
1fd4aafb8b
commit
73f06a9227
|
@ -89,7 +89,7 @@ def normalize_urls_runtime(body, v):
|
||||||
if v and v.imgsed:
|
if v and v.imgsed:
|
||||||
body = instagram_to_imgsed_regex.sub(r'\1https://imgsed.com/', body)
|
body = instagram_to_imgsed_regex.sub(r'\1https://imgsed.com/', body)
|
||||||
|
|
||||||
if not v or v.controversial:
|
if v and v.controversial:
|
||||||
body = controversial_regex.sub(controversial_link_matcher, body)
|
body = controversial_regex.sub(controversial_link_matcher, body)
|
||||||
|
|
||||||
return body
|
return body
|
||||||
|
|
Loading…
Reference in New Issue