Update aperisolve/analyzers/pcrt.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Zeecka
2026-01-09 23:10:55 +01:00
committed by GitHub
co-authored by Copilot
parent 05782b710a
commit 75ad5916af
+1 -1
View File
@@ -18,7 +18,7 @@ class PCRTAnalyzer(SubprocessAnalyzer):
def _write_repaired_data(self, data: bytes) -> str:
"""Write recovered image."""
img_name = f"pcrt_recoverd_{self.input_img.stem}.png"
img_name = f"pcrt_recovered_{self.input_img.stem}.png"
output_path = self.output_dir / img_name
saved_img_url = "/image/" + str(Path(self.output_dir.name) / img_name)
with output_path.open("wb") as f: