fix: Update backup directory path in BackupManager to use BACKUP_PATH constant
This commit is contained in:
+3
-1
@@ -5,6 +5,8 @@ from collections.abc import Callable
|
||||
from datetime import datetime
|
||||
from typing import Any
|
||||
|
||||
from constants import BACKUP_PATH
|
||||
|
||||
|
||||
class AutoSaveManager:
|
||||
"""Manages automatic saving of user data at regular intervals."""
|
||||
@@ -144,7 +146,7 @@ class BackupManager:
|
||||
"""Manages automatic backup creation for data files."""
|
||||
|
||||
def __init__(
|
||||
self, data_file_path: str, backup_directory: str = "backups", logger=None
|
||||
self, data_file_path: str, backup_directory: str = BACKUP_PATH, logger=None
|
||||
):
|
||||
"""
|
||||
Initialize backup manager.
|
||||
|
||||
Reference in New Issue
Block a user