Correct path for one file torrent
This commit is contained in:
1 parent
1cc998bc95
commit
39190495be
1 file changed
+1
-1
@@ -131,7 +131,7 @@ class Deluge(Downloader):
|
|||||||
'original_status': item['state'],
|
'original_status': item['state'],
|
||||||
'seed_ratio': item['ratio'],
|
'seed_ratio': item['ratio'],
|
||||||
'timeleft': str(timedelta(seconds = item['eta'])),
|
'timeleft': str(timedelta(seconds = item['eta'])),
|
||||||
'folder': ss(os.path.join(download_dir, item['name'])),
|
'folder': ss(download_dir) if len(torrent_files) == 1 else ss(os.path.join(download_dir, item['name'])),
|
||||||
'files': ss('|'.join(torrent_files)),
|
'files': ss('|'.join(torrent_files)),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user