From 348543ba139fcae669e4b18079b1db505127dd41 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 18 Mar 2022 14:48:59 +0000 Subject: [PATCH] typo --- app/event/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/event/models.py b/app/event/models.py index 6036a16..b39b92d 100644 --- a/app/event/models.py +++ b/app/event/models.py @@ -40,7 +40,7 @@ class Event(models.Model): if 'youtube.com/watch' in url: url = url.replace('/watch?v=', '/embed/') elif 'twitter.com/' in url: - url = ur.replace('twitter.com', 'nitter.net') + url = url.replace('twitter.com', 'nitter.net') html += '' % url if self.media_caption: html = '
%s
%s
' % (html, self.media_caption)