Removed old Response reference

This commit is contained in:
Fabio Manganiello 2018-07-06 03:35:47 +02:00
parent 6cf0f39a03
commit 85cdd8e5af

View file

@ -65,7 +65,6 @@ class VideoTorrentcastPlugin(Plugin):
response = self.search(query) response = self.search(query)
if not response.output['MovieList']: if not response.output['MovieList']:
self.logger.info('No torrent results found for {}'.format(query)) self.logger.info('No torrent results found for {}'.format(query))
return Response()
item = response.output['MovieList'][0] item = response.output['MovieList'][0]
magnet = item['items'][0]['torrent_magnet'] magnet = item['items'][0]['torrent_magnet']