Display a 'Please Wait' string instead of crapping out when waiting for column data to be fetched

This commit is contained in:
Asmageddon 2012-07-14 11:57:37 +02:00
parent 246a8409bf
commit 39d75ee7d5
1 changed files with 4 additions and 2 deletions

View File

@ -83,8 +83,10 @@ def get_column_value(name,state):
return None
return col[1](*args)
else:
return state[col[0][0]]
try:
return state[col[0][0]]
except:
return "Please Wait"
def get_required_fields(cols):
fields = []