Fix cleanup logging of paths

This commit is contained in:
Joscha 2021-05-23 16:22:38 +02:00
parent 245c9c3dcc
commit b998339002

View File

@ -443,7 +443,7 @@ class OutputDirectory:
if await self._conflict_delete_lf(self._on_conflict, pure): if await self._conflict_delete_lf(self._on_conflict, pure):
try: try:
path.unlink() path.unlink()
log.action(f"[bold bright_magenta]Deleted[/] {escape(fmt_path(path))}") log.action(f"[bold bright_magenta]Deleted[/] {escape(fmt_path(pure))}")
self._report.delete_file(pure) self._report.delete_file(pure)
except OSError: except OSError:
pass pass