mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 05:47:50 +00:00
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.torrent
|
||||
def POST(self, torrent):
|
||||
torrent = get_torrent_status(torrent_id)
|
||||
file_priorities = web.input(file_priorities=[]).file_priorities
|
||||
#file_priorities contains something like ['0','2','3','4']
|
||||
#transform to: [1,0,1,1,1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user