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
2022-06-12 15:07:53 +08:00

11 lines
194 B
Python

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']