From c9b75925b91f158a2c0b45cbbd0d704b0bde9843 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Thu, 8 Dec 2022 16:11:25 -0600 Subject: [PATCH] Removed unneeded code --- src/controller/buffers/mastodon/base.py | 2 +- src/controller/buffers/twitter/base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controller/buffers/mastodon/base.py b/src/controller/buffers/mastodon/base.py index d45d130b..df89915c 100644 --- a/src/controller/buffers/mastodon/base.py +++ b/src/controller/buffers/mastodon/base.py @@ -489,7 +489,7 @@ class BaseBuffer(base.Buffer): post = self.get_item() # Update object so we can retrieve newer stats post = self.session.api.status(id=post.id) - print(post) +# print(post) msg = messages.viewPost(post, offset_hours=self.session.db["utc_offset"], item_url=self.get_item_url()) def ocr_image(self): diff --git a/src/controller/buffers/twitter/base.py b/src/controller/buffers/twitter/base.py index 5b6519e3..7d3d8999 100644 --- a/src/controller/buffers/twitter/base.py +++ b/src/controller/buffers/twitter/base.py @@ -457,7 +457,7 @@ class BaseBuffer(base.Buffer): def _retweet_with_comment(self, tweet, id): if hasattr(tweet, "retweeted_status"): tweet = tweet.retweeted_status - retweet = messages.tweet(session=self.session, title=_("Quote"), caption=_("Add your comment to the tweet"), max=256, thread_mode=False) + retweet = messages.tweet(session=self.session, title=_("Quote"), caption=_("Add your comment to the tweet"), thread_mode=False) if retweet.message.ShowModal() == widgetUtils.OK: text = retweet.message.text.GetValue() tweet_data = dict(text=text, attachments=retweet.attachments, poll_period=retweet.poll_period, poll_options=retweet.poll_options)