dfdsf
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user