From 39d75ee7d5a15bf5f10ba78e2421cdd449ee3fa9 Mon Sep 17 00:00:00 2001 From: Asmageddon Date: Sat, 14 Jul 2012 11:57:37 +0200 Subject: [PATCH] Display a 'Please Wait' string instead of crapping out when waiting for column data to be fetched --- deluge/ui/console/modes/column.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deluge/ui/console/modes/column.py b/deluge/ui/console/modes/column.py index dd89df02b..12a20c281 100644 --- a/deluge/ui/console/modes/column.py +++ b/deluge/ui/console/modes/column.py @@ -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 = []