Skip to content
Snippets Groups Projects
Commit f4cbf057 authored by Martin Bauer's avatar Martin Bauer
Browse files

Merge branch 'remove-deprecation-warning-cachedir' into 'master'

Remove deprecation warning ('cachedir' parameter has been deprecated)

See merge request !24
parents 2e2bc712 49142d54
No related merge requests found
......@@ -12,7 +12,7 @@ try:
cache_dir = os.environ['PYSTENCILS_CACHE_DIR']
else:
cache_dir = user_cache_dir('pystencils')
disk_cache = Memory(cachedir=cache_dir, verbose=False).cache
disk_cache = Memory(cache_dir, verbose=False).cache
disk_cache_no_fallback = disk_cache
except ImportError:
# fallback to in-memory caching if joblib is not available
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment