mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
545c314ddc
commit
e262f916b3
@ -11,7 +11,7 @@ from copy import deepcopy
|
||||
import optparse
|
||||
|
||||
from calibre.constants import (config_dir, CONFIG_DIR_MODE, __appname__,
|
||||
get_version, __author__)
|
||||
get_version, __author__, DEBUG)
|
||||
from calibre.utils.lock import ExclusiveFile
|
||||
from calibre.utils.config_base import (make_config_dir, Option, OptionValues,
|
||||
OptionSet, ConfigInterface, Config, prefs, StringConfig, ConfigProxy,
|
||||
@ -216,8 +216,9 @@ class DynamicConfig(dict):
|
||||
except SystemError:
|
||||
pass
|
||||
except:
|
||||
print 'WARNING: Failed to unpickle stored config object, ignoring'
|
||||
if DEBUG:
|
||||
import traceback
|
||||
print 'Failed to unpickle stored object:'
|
||||
traceback.print_exc()
|
||||
d = {}
|
||||
if clear_current:
|
||||
|
Loading…
x
Reference in New Issue
Block a user