From 26350c50999fb089d1e77e50898158b7e6c29a14 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 8 Dec 2007 21:23:08 +0000 Subject: [PATCH] Fix listview. --- deluge/ui/gtkui/listview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/listview.py b/deluge/ui/gtkui/listview.py index bb6fbcf90..a21fce352 100644 --- a/deluge/ui/gtkui/listview.py +++ b/deluge/ui/gtkui/listview.py @@ -189,7 +189,7 @@ class ListView: state_file = open(os.path.join(config_location, filename), "rb") state = cPickle.load(state_file) state_file.close() - except IOError: + except IOError, e: log.warning("Unable to load state file: %s", e) # Keep the state in self.state so we can access it as we add new columns