示例#1
0
def make_preview_cache_dir():
    path = join(get_cache_directory("twitch"), "preview")

    if not isdir(path):
        makedirs(path)

    return path
示例#2
0
 def _cache(self):
     path = join(get_cache_directory("coverfetcher"))
     return LocalCache(path)