This commit is contained in:
parent
d043435d91
commit
a7c39054b1
@ -248,7 +248,7 @@ def admin_edit(link_id=None):
|
||||
if title.folder.path is not None and title.folder.path != '':
|
||||
download_url = link.link.replace('/view/', '/download/') + '.torrent'
|
||||
torrent_path = '%s/%s' % (title.folder.path, title.name)
|
||||
torrent = transmission.add_torrent(download_url, download_dir=torrent_path)
|
||||
torrent = transmission.add_torrent(download_url, download_dir=torrent_path, paused=False)
|
||||
transmission.move_torrent_data(torrent.id, torrent_path)
|
||||
|
||||
return redirect(url_for('admin'))
|
||||
|
Reference in New Issue
Block a user