Skip to content

Commit

Permalink
Ban song
Browse files Browse the repository at this point in the history
  • Loading branch information
mzheng committed Dec 20, 2010
1 parent 425bafc commit 75becab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pandora/models/SongsModel.py
Expand Up @@ -72,12 +72,11 @@ def delete_song(self, url):
prev = self.get_previous_from_entry(removing_entry)
if prev is not None:
self.__last_entry = prev

del self.__songs_dict[url]
self.remove_entry(removing_entry)
self.__db.entry_delete(removing_entry)
self.__db.commit()
#FIXME: Update last entry


#HACK around Python's QueryModel binding problem
def iter_to_entry(self, iter):
Expand Down

0 comments on commit 75becab

Please sign in to comment.