clean-up searcher

This commit is contained in:
mano3m
2013-09-30 19:15:30 +02:00
parent f0f843f746
commit 1bddadf3a4
2 changed files with 3 additions and 16 deletions
-3
View File
@@ -210,9 +210,6 @@ class Release(Plugin):
db.expunge_all()
rel = db.query(Relea).filter_by(id = id).first() # Get release again @RuudBurger why do we need to get it again??
if rel.status_id != done_status.get('id'):
fireEvent('release.update', id = id, status = snatched_status, single = True)
fireEvent('notify.frontend', type = 'release.download', data = True, message = 'Successfully snatched "%s"' % item['name'])
return {
'success': success