diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index 524dd6397..3cb7fb2bf 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -352,8 +352,6 @@ def sanitize(sanitized, golden=True, limit_pings=0, showmore=True, count_marseys sanitized = sanitized.replace('&','&') - if "https://youtube.com/watch?v=" in sanitized: sanitized = sanitized.replace("?t=", "&t=") - captured = [] for i in youtube_regex.finditer(sanitized): if i.group(0) in captured: continue