Ejemplo n.º 1
0
def make_preview_cache_dir():
    path = join(get_cache_directory("twitch"), "preview")

    if not isdir(path):
        makedirs(path)

    return path
Ejemplo n.º 2
0
 def _cache(self):
     path = join(get_cache_directory("coverfetcher"))
     return LocalCache(path)