diff --git a/platypush/plugins/video/omxplayer.py b/platypush/plugins/video/omxplayer.py index ffa1ec34be..6f2b7bbe47 100644 --- a/platypush/plugins/video/omxplayer.py +++ b/platypush/plugins/video/omxplayer.py @@ -379,14 +379,11 @@ class VideoOmxplayerPlugin(Plugin): if torrent_file: files = [os.path.join( self.download_dir, - torrent_file.files().file_path(i), - torrent_file.files().file_name(i)) + torrent_file.files().file_path(i)) for i in range(0, torrent_file.files().num_files()) if self._is_video_file(torrent_file.files().file_name(i)) ] - print(files) - self.torrent_state['progress'] = 100 * status.progress self.torrent_state['download_rate'] = status.download_rate self.torrent_state['upload_rate'] = status.upload_rate