Ignore error loading saved GUI settings caused by change in PyQt

This commit is contained in:
Kovid Goyal 2009-06-17 12:19:00 -07:00
parent ccd626bb55
commit 9e1a17f5be

View File

@ -497,6 +497,8 @@ class DynamicConfig(dict):
raw = f.read()
try:
d = cPickle.loads(raw) if raw.strip() else {}
except SystemError:
pass
except:
import traceback
traceback.print_exc()