This commit is contained in:
nose
2025-12-11 19:04:02 -08:00
parent 6863c6c7ea
commit 16d8a763cd
103 changed files with 4759 additions and 9156 deletions

View File

@@ -9,8 +9,8 @@ import subprocess
import shutil
import re
from helper.logger import log, debug
from helper.utils import sha256_file
from SYS.logger import log, debug
from SYS.utils import sha256_file
from . import register
from ._shared import (
Cmdlet,
@@ -219,11 +219,11 @@ def _run(result: Any, args: Sequence[str], config: Dict[str, Any]) -> int:
# Update original file in local DB if possible
try:
from config import get_local_storage_path
from helper.folder_store import FolderDB
from API.folder import API_folder_store
storage_path = get_local_storage_path(config)
if storage_path:
with FolderDB(storage_path) as db:
with API_folder_store(storage_path) as db:
# Get original file metadata
# We need to find the original file by hash or path
# Try path first