mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
webui:fix oops in torrent_files
This commit is contained in:
parent
2ccf6786c6
commit
c9bc6a9526
1 changed files with 0 additions and 1 deletions
|
@ -185,7 +185,6 @@ class torrent_files:
|
||||||
@deco.check_session
|
@deco.check_session
|
||||||
@deco.torrent
|
@deco.torrent
|
||||||
def POST(self, torrent):
|
def POST(self, torrent):
|
||||||
torrent = get_torrent_status(torrent_id)
|
|
||||||
file_priorities = web.input(file_priorities=[]).file_priorities
|
file_priorities = web.input(file_priorities=[]).file_priorities
|
||||||
#file_priorities contains something like ['0','2','3','4']
|
#file_priorities contains something like ['0','2','3','4']
|
||||||
#transform to: [1,0,1,1,1]
|
#transform to: [1,0,1,1,1]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue