From 22c3c8b9bb0170c75c7df5e3ef7f7c9b7cf7e848 Mon Sep 17 00:00:00 2001 From: WildSoft Date: Thu, 12 Nov 2026 10:07:04 +0300 Subject: [PATCH] Update public source --- cracklab/client/job_package.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cracklab/client/job_package.py b/cracklab/client/job_package.py index 2f34025..aedaf4d 100644 --- a/cracklab/client/job_package.py +++ b/cracklab/client/job_package.py @@ -32,6 +32,7 @@ class _ValidatedPackage: hash_content: bytes job_bytes: bytes hash_path: str + package_filename: str class JobPackageService: @@ -175,6 +176,7 @@ class JobPackageService: hash_content=hash_bytes, job_bytes=job_bytes, hash_path=hash_name, + package_filename=package_path.name, ) @staticmethod @@ -995,6 +997,14 @@ class JobPackageService: f"{pending_path}" ) + ( + temporary_path + / "package_filename.txt" + ).write_text( + package.package_filename, + encoding="utf-8", + ) + if not pending_path.is_file(): raise JobPackageError( f"Pending Job package is not a file: "