Skip to content

Commit

Permalink
Close log file
Browse files Browse the repository at this point in the history
  • Loading branch information
RhetTbull committed Jun 17, 2024
1 parent f053587 commit 4582ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/recover_photos.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ def main(library_path: str, verbose: bool, destination: str, dry_run: bool):
f"[num]{edited_count}[/] edited photos, and [num]{aae_count}[/] AAE files. "
f"Errors: [num]{error_count}[/]"
)
echo(f"Log written to [filepath]{log_file}[/]")
_global_log_file.close()
echo(f"Log written to [filepath]{log_file}[/]")


def read_originals(library_path: pathlib.Path) -> list[pathlib.Path]:
Expand Down

0 comments on commit 4582ae4

Please sign in to comment.