Navigation Menu

Skip to content

Commit

Permalink
fixed cache issue
Browse files Browse the repository at this point in the history
  • Loading branch information
plamere committed Jul 26, 2015
1 parent 2103051 commit def26d8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGES.txt
@@ -1,4 +1,4 @@
v1.0 June 20, 2015 -- Intitial public release
v1.1 June 22, 2015 -- Added annotator caching with leveldb
v1.1 June 22, 2015 -- Added no cache option
v1.1.4 Jul 26, 2015 -- Flexible cache location
v1.1.5 Jul 26, 2015 -- Flexible cache location
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -85,4 +85,4 @@ If you have suggestions, bugs or other issues specific to this library, file the

- 1.0 - 06/20/2015 - Initial release
- 1.1.3 - 07/24/2015 - improved error handling, plus some new components
- 1.1.4 - 07/26/2015 - optionally set cache location by env variable
- 1.1.5 - 07/26/2015 - optionally set cache location by env variable
3 changes: 2 additions & 1 deletion pbl/cache.py
@@ -1,7 +1,8 @@
import leveldb
import json
import os

cache_path = os.environ.get('PBL_CACHE_PATH'):
cache_path = os.environ.get('PBL_CACHE_PATH')
if not cache_path:
cache_path = '.cache'

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -2,7 +2,7 @@

setup(
name='pbl',
version='1.1.4',
version='1.1.5',
description='A Python library for building playlists',
author="@plamere",
author_email="paul@spotify.com",
Expand Down

0 comments on commit def26d8

Please sign in to comment.