diff --git a/plugins/TorrentNotification/__init__.py b/plugins/TorrentNotification/__init__.py index 1ee4625d1..117f3c60d 100644 --- a/plugins/TorrentNotification/__init__.py +++ b/plugins/TorrentNotification/__init__.py @@ -104,14 +104,8 @@ class TorrentNotification: pass else: file_info = self.interface.manager.get_torrent_file_info(event['unique_ID']) - filelist = "" - for file in file_info[:10]: - filelist += file['path'] + "\n" - if len(file_info) > 10: - filelist += '...' if pynotify.init("Deluge"): - n = pynotify.Notification(_("Torrent complete"), - _("Files") + ":\n" + filelist) + n = pynotify.Notification(_("Torrent complete")) n.set_icon_from_pixbuf(deluge.common.get_logo(48)) n.show() else: