Fix type of torrent_files
This commit is contained in:
1 parent
719aca88b7
commit
57cb22c9aa
1 file changed
+1
-1
@@ -131,7 +131,7 @@ class uTorrent(Downloader):
|
|||||||
for item in queue['torrents']:
|
for item in queue['torrents']:
|
||||||
|
|
||||||
#Get files of the torrent
|
#Get files of the torrent
|
||||||
torrent_files = ''
|
torrent_files = []
|
||||||
try:
|
try:
|
||||||
torrent_files = json.loads(self.utorrent_api.get_files(item[0]))
|
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]]
|
torrent_files = [os.path.join(item[26], torrent_file[0]) for torrent_file in torrent_files['files'][1]]
|
||||||
|
|||||||
Reference in new issue
Block a user