add default pickle cache version

Change-Id: I3efcd68425a79d84241d4f7c16ba385127331deb
Signed-off-by: cloudnull <kevin@cloudnull.com>
This commit is contained in:
cloudnull 2019-02-17 22:29:55 -06:00
parent 034228e754
commit 29feb307f8
No known key found for this signature in database
GPG Key ID: 9443251A787B9FB3
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class LocalCache(object):
:returns: object
"""
return diskcache.Cache(directory=self.cache_path)
return diskcache.Cache(directory=self.cache_path, disk_pickle_protocol=2)
def lc_open(self):
"""Open shelved data.