mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-04-04 19:12:28 -04:00
Minimal code cleanup
This commit is contained in:
parent
76dae8bcf8
commit
70a1c9fbcc
@ -572,7 +572,6 @@ class BaseBuffer(base.Buffer):
|
|||||||
except MastodonNotFoundError:
|
except MastodonNotFoundError:
|
||||||
output.speak(_("No status found with that ID"))
|
output.speak(_("No status found with that ID"))
|
||||||
return
|
return
|
||||||
# print(item)
|
|
||||||
msg = messages.viewPost(self.session, item, offset_hours=self.session.db["utc_offset"], item_url=self.get_item_url(item=item))
|
msg = messages.viewPost(self.session, item, offset_hours=self.session.db["utc_offset"], item_url=self.get_item_url(item=item))
|
||||||
|
|
||||||
def ocr_image(self):
|
def ocr_image(self):
|
||||||
|
@ -254,7 +254,6 @@ class post(messages.basicMessage):
|
|||||||
langs = self.session.supported_languages
|
langs = self.session.supported_languages
|
||||||
lang = self.message.language.GetSelection()
|
lang = self.message.language.GetSelection()
|
||||||
if lang >= 0:
|
if lang >= 0:
|
||||||
print(langs[lang].code)
|
|
||||||
return langs[lang].code
|
return langs[lang].code
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user