summaryrefslogtreecommitdiffstats
path: root/deluge/ui/gtkui/files_tab.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/ui/gtkui/files_tab.py')
-rw-r--r--deluge/ui/gtkui/files_tab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/gtkui/files_tab.py b/deluge/ui/gtkui/files_tab.py
index 468ab98..45f819f 100644
--- a/deluge/ui/gtkui/files_tab.py
+++ b/deluge/ui/gtkui/files_tab.py
@@ -281,7 +281,7 @@ class FilesTab(Tab):
state_file = open(os.path.join(config_location, filename), "rb")
state = cPickle.load(state_file)
state_file.close()
- except (EOFError, IOError, AttributeError), e:
+ except (EOFError, IOError, AttributeError, cPickle.UnpicklingError), e:
log.warning("Unable to load state file: %s", e)
if state == None: