mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +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):
|
if ("order" in ck and "sort" in ck):
|
||||||
url_vars.update({'sort':ck['sort'] ,'order':ck['order'] })
|
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
|
#todo:DRY
|
||||||
if ("state" in ck) and ck['state']:
|
if ("state" in ck) and ck['state']:
|
||||||
url_vars['state'] = ck['state']
|
url_vars['state'] = ck['state']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue