18 lines
456 B
Python
18 lines
456 B
Python
__all__ = ["__version__", "__author__", "Icon", "settings"]
|
|
from config import Config
|
|
import os
|
|
|
|
|
|
settings = Config("config/config.yaml")
|
|
if not os.path.exists(settings.database.temp.expanduser()):
|
|
settings.database.temp.expanduser().mkdir(parents=True, exist_ok=True)
|
|
from .utils.icon import Icon
|
|
|
|
__version__ = "0.2.1"
|
|
__author__ = "Alexander Kirchner"
|
|
|
|
|
|
if not os.path.exists("logs"):
|
|
os.mkdir("logs")
|
|
# open and close the file to create it
|