diff --git a/images/.gitignore b/images/.gitignore new file mode 100644 index 0000000..06cf653 --- /dev/null +++ b/images/.gitignore @@ -0,0 +1 @@ +cache diff --git a/mediacache b/mediacache deleted file mode 100644 index 4cd23b7..0000000 Binary files a/mediacache and /dev/null differ diff --git a/utilities.py b/utilities.py index 224cae1..2d6371a 100644 --- a/utilities.py +++ b/utilities.py @@ -213,14 +213,14 @@ cachedTracks = {} cachedArtists = {} def saveCache(): - fl = open("mediacache","wb") + fl = open("images/cache","wb") stream = pickle.dumps((cachedTracks,cachedArtists)) fl.write(stream) fl.close() def loadCache(): try: - fl = open("mediacache","rb") + fl = open("images/cache","rb") except: return