fix: add .py extension to final path

This commit is contained in:
Benexl
2025-11-30 14:41:17 +03:00
parent 08ae8786c3
commit 23ebff3f42

View File

@@ -404,7 +404,7 @@ class EpisodeCacheWorker(ManagedBackgroundWorker):
"""Generate a cache hash for the given text.""" """Generate a cache hash for the given text."""
from hashlib import sha256 from hashlib import sha256
return "episode-" + sha256(text.encode("utf-8")).hexdigest() return "episode-" + sha256(text.encode("utf-8")).hexdigest() + ".py"
def _on_task_completed(self, task: WorkerTask, future) -> None: def _on_task_completed(self, task: WorkerTask, future) -> None:
"""Handle task completion with enhanced logging.""" """Handle task completion with enhanced logging."""