Fix GitHub's "TLSV1_ALERT_PROTOCOL_VERSION" issue when upgrading PIO Core to development version

This commit is contained in:
Ivan Kravets
2018-03-03 14:36:17 +02:00
parent d1c7f56950
commit 6ec1890f52
4 changed files with 38 additions and 9 deletions

View File

@ -141,7 +141,7 @@ class ContentCache(object):
self._db_path = None
self._lockfile = None
self.cache_dir = cache_dir or join(util.get_home_dir(), ".cache")
self.cache_dir = cache_dir or util.get_cache_dir()
self._db_path = join(self.cache_dir, "db.data")
def __enter__(self):