From 57cb22c9aa5775910dfe79b885a1d74fb824036c Mon Sep 17 00:00:00 2001 From: mano3m Date: Sat, 5 Oct 2013 10:28:38 +0200 Subject: [PATCH] Fix type of torrent_files --- couchpotato/core/downloaders/utorrent/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/downloaders/utorrent/main.py b/couchpotato/core/downloaders/utorrent/main.py index e6e251a3..9826f0a7 100644 --- a/couchpotato/core/downloaders/utorrent/main.py +++ b/couchpotato/core/downloaders/utorrent/main.py @@ -131,7 +131,7 @@ class uTorrent(Downloader): for item in queue['torrents']: #Get files of the torrent - torrent_files = '' + torrent_files = [] try: torrent_files = json.loads(self.utorrent_api.get_files(item[0])) torrent_files = [os.path.join(item[26], torrent_file[0]) for torrent_file in torrent_files['files'][1]]