From ac9d7f200a2afded170a9dd64f817f1d57eecbc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Fri, 4 Nov 2022 11:30:09 +0100 Subject: [PATCH] minor adjustments --- moa/moa.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moa/moa.patch b/moa/moa.patch index 9a94548..5dfc170 100644 --- a/moa/moa.patch +++ b/moa/moa.patch @@ -980,7 +980,7 @@ index 08aa61d..02cee13 100644 else: logger.info('Truncating toot') diff --git a/moa/tweet.py b/moa/tweet.py -index b156967..95d4a96 100644 +index b156967..0578338 100644 --- a/moa/tweet.py +++ b/moa/tweet.py @@ -20,6 +20,7 @@ HANDLE_SUFFIX = '' @@ -1083,7 +1083,7 @@ index b156967..95d4a96 100644 content = re.sub(url.url, url.expanded_url, content) if self.is_retweet: -+ self.media = [] ++ self.__fetched_attachments = [] + self.__content = f"RT @{self.data.retweeted_status.user.screen_name}{HANDLE_SUFFIX}\n{self.url}" + return self.__content if len(content) > 0: