From c0ff8514c2ad53cb532cb60c45321595be4cd20e Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 4 Aug 2018 18:50:32 +0200 Subject: o Using the old name for the digikey cache directory. --- src/ee/digikey/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ee/digikey') 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): -- cgit v1.2.3