aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ee/digikey/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ee/digikey/__init__.py b/src/ee/digikey/__init__.py
index f230f00..dcd21b2 100644
--- a/src/ee/digikey/__init__.py
+++ b/src/ee/digikey/__init__.py
@@ -216,7 +216,7 @@ class DigikeyClient(object):
def __init__(self, digikey: Digikey, cache_dir=None, on_download=None):
self.digikey = digikey
self.on_download = on_download or self.__nop
- cache = FileCache(cache_dir or 'http_cache', forever=True)
+ cache = FileCache(cache_dir or 'digikey_cache', forever=True)
self.sess = CacheControl(requests.Session(), cache=cache, heuristic=ExpiresAfter(days=10*365))
def _req(self, url, params=None):