Added separate get_logs_dir function for logs dir

Instead of piggy-backing on the data dir
This commit is contained in:
Donkie
2023-11-25 21:42:56 +01:00
parent b59e0e12a5
commit d119a27cc2
4 changed files with 12 additions and 1 deletions

View File

@@ -213,6 +213,7 @@ class Info(BaseModel):
debug_mode: bool = Field(example=False)
automatic_backups: bool = Field(example=True)
data_dir: str = Field(example="/home/app/.local/share/spoolman")
logs_dir: str = Field(example="/home/app/.local/share/spoolman")
backups_dir: str = Field(example="/home/app/.local/share/spoolman/backups")
db_type: str = Field(example="sqlite")
git_commit: Optional[str] = Field(example="a1b2c3d")