mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +00:00
webui:error handling of no-daemon
This commit is contained in:
parent
6e5da1cae3
commit
fa0847a45b
1 changed files with 7 additions and 1 deletions
|
@ -88,7 +88,13 @@ def do_redirect():
|
|||
if ("order" in ck and "sort" in ck):
|
||||
url_vars.update({'sort':ck['sort'] ,'order':ck['order'] })
|
||||
|
||||
if 'Organize' in proxy.get_enabled_plugins():
|
||||
organize = False
|
||||
try:
|
||||
organize = ('Organize' in proxy.get_enabled_plugins())
|
||||
except:
|
||||
pass
|
||||
|
||||
if organize:
|
||||
#todo:DRY
|
||||
if ("state" in ck) and ck['state']:
|
||||
url_vars['state'] = ck['state']
|
||||
|
|
Loading…
Add table
Reference in a new issue