mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 07:28:39 +00:00
Display a 'Please Wait' string instead of crapping out when waiting for column data to be fetched
This commit is contained in:
parent
246a8409bf
commit
39d75ee7d5
1 changed files with 4 additions and 2 deletions
|
@ -83,8 +83,10 @@ def get_column_value(name,state):
|
||||||
return None
|
return None
|
||||||
return col[1](*args)
|
return col[1](*args)
|
||||||
else:
|
else:
|
||||||
|
try:
|
||||||
return state[col[0][0]]
|
return state[col[0][0]]
|
||||||
|
except:
|
||||||
|
return "Please Wait"
|
||||||
|
|
||||||
def get_required_fields(cols):
|
def get_required_fields(cols):
|
||||||
fields = []
|
fields = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue