diff --git a/libsaria/storage/cache.py b/libsaria/storage/cache.py index 8ba2eb52..9982ab5b 100644 --- a/libsaria/storage/cache.py +++ b/libsaria/storage/cache.py @@ -17,11 +17,6 @@ def file_exists(cache_path): return False return getsize(cache_path) != 0 -def file_empty(cache_path): - if not isfile(cache_path): - return False - return getsize(cache_path) == 0 - def make_cache_path(artist, album, file): cache_file = "%s%s%s%s" % (artist, sep, album, sep) cache_path = join(CACHE_DIR, cache_file)