From 16e802d2327fae222e6da3df2d1e33853d3ba53f Mon Sep 17 00:00:00 2001 From: Delgan Date: Thu, 22 Jan 2026 00:17:47 +0100 Subject: [PATCH] Fix 7z extraction of file ending/starting with whitespace --- backend/utils/archive_7zip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/utils/archive_7zip.py b/backend/utils/archive_7zip.py index 31e5819f7..d6b5ad0af 100644 --- a/backend/utils/archive_7zip.py +++ b/backend/utils/archive_7zip.py @@ -44,7 +44,7 @@ def process_file_7z( for line in lines: line = line.lstrip() if line.startswith("Path = "): - current_file = line.split(" = ", 1)[1].strip() + current_file = line.split(" = ", 1)[1] current_size = 0 elif line.startswith("Size = "): try: