webui:fix oops in torrent_files
This commit is contained in:
parent
2ccf6786c6
commit
c9bc6a9526
@ -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…
x
Reference in New Issue
Block a user