tryin to unpickle a GNU dbm file doesn't produce the same exception as bsddb. Handle both. Fixes #7013
This commit is contained in:
parent
bb3852418e
commit
d37bdc7a89
|
@ -250,7 +250,7 @@ class GajimPluginConfig():
|
|||
try:
|
||||
self.data = cPickle.load(fd)
|
||||
fd.close()
|
||||
except EOFError:
|
||||
except:
|
||||
fd.close()
|
||||
try:
|
||||
import shelve
|
||||
|
|
Loading…
Reference in New Issue