Browse Source

It's a bool return, dicts makes no sense (although they are handled as True)

master
Julio Biason 15 years ago
parent
commit
482410e4f1
  1. 3
      mitterlib/network/twitter.py

3
mitterlib/network/twitter.py

@ -402,7 +402,8 @@ class Connection(NetworkBase):
resource = '/statuses/destroy/%s.json' % (message)
response = self._request(resource, body=body)
_log.debug('Delete response: %s', response)
return response
return True # Either we get a response or an exception before we reach
# this.
def can_delete(self, message):
"""Check if the message belongs to the user. If so, returns True;

Loading…
Cancel
Save