Archived
1
0
Fork 0
This repository has been archived on 2024-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
akari-bot/core/utils/cache.py

12 lines
194 B
Python
Raw Normal View History

2022-06-12 07:07:53 +00:00
import uuid
from os.path import abspath
from config import Config
def random_cache_path():
return abspath(f'{Config("cache_path")}/{str(uuid.uuid4())}')
__all__ = ['random_cache_path']