fix: 修复 dedup.py 语法错误和 pHash DCT 实现,修复 chunked_upload.py 缩进错误

This commit is contained in:
CI Bot
2026-06-26 22:46:21 +08:00
parent 597ddd4318
commit a97e3e72e9
2 changed files with 15 additions and 7 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ def _cleanup_expired_uploads() -> int:
expires_at = expires_at.replace(tzinfo=timezone.utc)
# Only cleanup uploads that are not actively being uploaded
if expires_at < now and meta.get("status") != "uploading":
if expires_at < now and meta.get("status") != "uploading":
upload_id = meta["upload_id"]
chunk_dir = _get_chunk_dir(upload_id)
if chunk_dir.exists():