From 27e68911bf12d2566efc83d76317d3076fe6dcfa Mon Sep 17 00:00:00 2001 From: Sergey Shramchenko Date: Thu, 17 Mar 2016 23:04:48 +0200 Subject: [PATCH] Post merge fix --- Core.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Core.py b/Core.py index 19d1678..df143ad 100644 --- a/Core.py +++ b/Core.py @@ -1467,9 +1467,7 @@ class Core: if not torrent: torrent = Downloader.Torrent(self.userStorageDirectory, torrentFilesDirectory=self.torrentFilesDirectory) self.__settings__.setSetting("lastTorrent", torrent.saveTorrent(url)) - self.drawFolder(torrent, tdir, url, 'openTorrent', thumbnail, save_folder) - def drawFolder(self, torrent, tdir, url, vstyle, thumbnail='', save_folder=''): hasSize = False contentList = [] for filedict in torrent.getContentList(): @@ -1505,7 +1503,7 @@ class Core: link = {'url': identifier, 'thumbnail': thumbnail, 'save_folder':save_folder} self.drawItem(title, 'playTorrent', link, image=thumbnail, isFolder=False, action2=ids_video.rstrip(','), contextMenu=contextMenu, replaceMenu=False, fileSize=filesize) - view_style(vstyle) + view_style('openTorrent') p_handle = int(sys.argv[1]) try: xbmcplugin.addSortMethod(p_handle, xbmcplugin.SORT_METHOD_LABEL)