Fix #702 on_podcast_delete method is passed incorrect object

thanks to @auouymous for the fix
This commit is contained in:
Eric Le Lay 2019-11-17 15:44:56 +01:00
parent c6860de1de
commit 14c488477a
1 changed files with 1 additions and 1 deletions

View File

@ -1339,7 +1339,7 @@ class Model(object):
def _remove_podcast(self, podcast):
self.children.remove(podcast)
gpodder.user_extensions.on_podcast_delete(self)
gpodder.user_extensions.on_podcast_delete(podcast)
def get_podcasts(self):
def podcast_factory(dct, db):