mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-29 22:23:12 -06:00
Fixed a typo
This commit is contained in:
parent
babbc0a08d
commit
0835a34c71
@ -696,13 +696,14 @@ class baseBufferController(bufferController):
|
|||||||
try:
|
try:
|
||||||
if self.name == "direct_messages" or self.name == "sent_direct_messages":
|
if self.name == "direct_messages" or self.name == "sent_direct_messages":
|
||||||
self.session.twitter.twitter.destroy_direct_message(id=self.get_right_tweet()["id"])
|
self.session.twitter.twitter.destroy_direct_message(id=self.get_right_tweet()["id"])
|
||||||
|
self.session.db[self.name]["items"].pop(index)
|
||||||
else:
|
else:
|
||||||
self.session.twitter.twitter.destroy_status(id=self.get_right_tweet()["id"])
|
self.session.twitter.twitter.destroy_status(id=self.get_right_tweet()["id"])
|
||||||
self.session.db[self.name].pop(index)
|
self.session.db[self.name].pop(index)
|
||||||
self.buffer.list.remove_item(index)
|
self.buffer.list.remove_item(index)
|
||||||
# if index > 0:
|
# if index > 0:
|
||||||
except TwythonError:
|
except TwythonError:
|
||||||
self.session.sound.play("error")
|
self.session.sound.play("error.ogg")
|
||||||
|
|
||||||
@_tweets_exist
|
@_tweets_exist
|
||||||
def user_details(self):
|
def user_details(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user