checkpoint dealing with personal manager/editor
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from typing import List, Dict, Optional, Tuple
|
||||
from typing import List, Dict, Optional, Tuple
|
||||
from dataclasses import dataclass
|
||||
import shutil
|
||||
import os
|
||||
@@ -217,4 +217,4 @@ def restore_from_backup(file_path: str) -> bool:
|
||||
def cleanup_backup(file_path: str) -> None:
|
||||
backup_path = Path(str(file_path) + ".backup")
|
||||
if backup_path.exists():
|
||||
backup_path.unlink()
|
||||
backup_path.unlink()
|
||||
|
||||
Reference in New Issue
Block a user