Simplified messages

This commit is contained in:
Ruud committed 2011-10-22 23:14:03 +02:00
1 parent a7bce52b7b
commit 2f10cd0e3d
2 files changed
+4 -3

No files matched your search

+3 -2
View File
@@ -124,8 +124,9 @@ class Searcher(Plugin):
rls.status_id = snatched_status.get('id')
db.commit()
log.info('Snatched "%s" successfully.' % data.get('name'))
fireEvent('movie.snatched', message = 'Downloading of %s successful.' % data.get('name'), data = rls.to_dict())
snatch_message = 'Snatched %s' % data.get('name')
log.info(snatch_message)
fireEvent('movie.snatched', message = snatch_message, data = rls.to_dict())
return True