Fix type of torrent_files

This commit is contained in:
mano3m
2013-10-05 10:28:38 +02:00
parent 719aca88b7
commit 57cb22c9aa

View File

@@ -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]]