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

@@ -231,6 +231,15 @@ def get_data_dir() -> Path:
return data_dir
def get_logs_dir() -> Path:
"""Get the logs directory.
Returns:
Path: The logs directory.
"""
return get_data_dir()
def get_backups_dir() -> Path:
"""Get the backups directory.