mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Ignore error loading saved GUI settings caused by change in PyQt
This commit is contained in:
parent
ccd626bb55
commit
9e1a17f5be
@ -497,6 +497,8 @@ class DynamicConfig(dict):
|
|||||||
raw = f.read()
|
raw = f.read()
|
||||||
try:
|
try:
|
||||||
d = cPickle.loads(raw) if raw.strip() else {}
|
d = cPickle.loads(raw) if raw.strip() else {}
|
||||||
|
except SystemError:
|
||||||
|
pass
|
||||||
except:
|
except:
|
||||||
import traceback
|
import traceback
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user